Hello all,
There are a couple of things I'd like to do with JSON Schema in C++,
which are similar to protobuf, but JSON-centric.
1. Generate a C++17 struct from a JSON Schema, names, types, optionality, nested data, arrays.
2. Generate C++17 code for serialising to/from the natve C++17 struct.
3. Generate validation code that can emit informative messages about failed validation.
Seems to me this problem isn't specific to our application stack.
Essentially we want to pass state between NodeJS and core C++ modules and have those interfaces evolve over time in a maintainable way.
What's out there?
- Nigel Stewart