Is it possible to allow comments in JSON file?
I have a JSON file with comment lines marked with //
on the beginning. The file is properly read by com
Because the JSON format is very simple, Eclipse's built-in JSON validation doesn't provide any granular control over what is marked as an error.
I see two options:
As an aside, the JSON format doesn't support any kind of comment notation. Strictly speaking, that error message is correct - but in this case the parser you're using (Jackson) is configured to allow something out-of-spec.