|
DAW JSON Link
|
By default unmapped members in a JSON document are skipped. There are a few ways to turn this into an error.
One can change the default for all classes as a parser option. For example with from_json it would loook similar to:
When the value is set to yes, you can exclude a class from this by adding a type alias to it's class mapping called ignore_unknown_members. For example:
To enable errors for unknown members per class, add a type alias to the mapping called exact_class_mapping