Skip to content

Generate FromJson(...) for the top object #6

@Roout

Description

@Roout

Absent function for parsing the top-level json object. Now I have to write something like this manually:

json_autogenerated_classes::Units units;
auto json = LoadFile();
rapidjson::Document doc;
doc.Parse(json.c_str());
FromJson(doc["units"], units); 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions