The deserialization feature FAIL_ON_UNKNOWN_PROPERTIES can be used to add error messages regarding JSON attributes with no corresponding feature in the diagnostics
The error message currently looks like this:
Unknown feature some_unknown_feature
I would like to have a little bit more context about the current object which is missing the feature:
Proposed error message:
Unknown feature 'some_unknown_feature' for https://example.org/data/test/1.0#//Customer
This would help understanding the issue quicker without looking at the input JSON.
The deserialization feature
FAIL_ON_UNKNOWN_PROPERTIES
can be used to add error messages regarding JSON attributes with no corresponding feature in the diagnosticsThe error message currently looks like this:
I would like to have a little bit more context about the current object which is missing the feature:
Proposed error message:
This would help understanding the issue quicker without looking at the input JSON.