mirror of
https://github.com/nlohmann/json.git
synced 2026-02-11 12:22:33 +00:00
construct enum type to basic_json (proxy by int type)
```
enum { t = 0 };
json j = json::array();
j.push_back(t);
j.push_back(json::object({
{"game_type", t}
}));
```