Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The JSON models in the source code (some of which are used as examples, some as test cases, some both) are mostly non-strict JSON:
- attribute names are not quoted,
- strings are often quoted using single-quotes,
- double-quotes in single-quoted strings are not escaped,
- there are comments.
We support non-strict JSON but we would prefer that people start using strict JSON, so let's set an example. We cannot yet remove comments (they help make the examples easier to understand, and we include the Apache header as a comment) but we can fix the others.