1 #ifndef CASM_enumerator_ConfigEnumInput_json_io
2 #define CASM_enumerator_ConfigEnumInput_json_io
17 struct jsonConstructor;
19 class ConfigEnumInput;
30 jsonParser &
to_json(ConfigEnumInput
const &config_enum_input, jsonParser &json);
37 std::shared_ptr<Structure const>
const &
shared_prim);
42 std::shared_ptr<Structure const>
const &
shared_prim);
47 std::vector<std::pair<std::string, ConfigEnumInput>> &config_enum_input,
63 InputParser<std::vector<std::pair<std::string, ConfigEnumInput>>> &parser,
std::shared_ptr< Structure const > shared_prim
PrimClex is the top-level data structure for a CASM project.
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
void from_json(ClexDescription &desc, const jsonParser &json)
std::string parse_ConfigEnumInput_desc()
A string describing the JSON format for parsing named ConfigEnumInput.
void parse(InputParser< ConfigEnumOptions > &parser, std::string method_name, PrimClex const &primclex, DataFormatterDictionary< Configuration > const &dict)
Helper struct for constructing objects that need additional data.
static ReturnType from_json(const jsonParser &json)
Default from_json is equivalent to.