-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
https://json5.org/ does define some relaxations on the JSON format.
Something similar has been done already with ofNonStandard
factory method (see https://github.com/dhis2/json-tree/blob/main/src/main/java/org/hisp/dhis/jsontree/JsonMixed.java#L78 ) which does allow for some of the syntax mentioned in JSON5.
Since the current approach is to rewrite the input in place to become valid JSON before it is actually parsed by the usual code not all of JSON5 can be implemented this way. Therefore it might be better to stick to what is possible and makes sense.
Features that are unlikely to be desirable:
- hex number format
- escaping in strings
- line breaks in strings
Metadata
Metadata
Assignees
Labels
No labels