emfjson / emfjson-jackson

JSON Binding for Eclipse Modeling Framework
https://emfjson.github.io
Other
80 stars 23 forks source link

Enable strict mode during parsing of json files #50

Closed ghillairet closed 9 years ago

ghillairet commented 9 years ago

An strict parsing mode could be enable via an option during loading of json file. This mode should detect fields that do not match features, and throw a FeatureNotFoundException.

ghillairet commented 9 years ago

There will be no strict mode per se but exceptions will be added to the resource errors during loading if a field does not match a feature, or if an error happen during setting of a value, e.g. value if of wrong type. Parsing will not be stopped but will continue to the end of input.