https://github.com/nlohmann/json
Why?
- Has easier serialization APIs for C++ STL storage
- Can add custom types (C++ structs -> json)
- Can output in human readable (json) and binary format (ubjson, cbor, messagepack etc)
Problems with Flatbuffers
- Harder to create a C++ to FBS interface
- For JSON like output need to use flexbuffers instead of flatbuffers (no array like root_type allowed)
- Schema -> C++ conversion is harder, since there is no explicit support for hashmaps/hashtables/maps/tables.
TODO
https://github.com/nlohmann/json
Why?
Problems with Flatbuffers
TODO