map toMap()

in cpp/include/darabonba/file_form.hpp [34:46]


  map<string, boost::any> toMap() override {
    map<string, boost::any> res;
    if (filename) {
      res["filename"] = boost::any(*filename);
    }
    if (contentType) {
      res["contentType"] = boost::any(*contentType);
    }
    if (content) {
      res["content"] = boost::any(*content);
    }
    return res;
  }