2.0.9
2.0.9
This major version fixes several issues and provides new features:
- supports comments everywhere, yes, EVERYWHERE in a JSON file, eventually 😆
- fixes comments in arrays, #7 #9
Breaking changes vs 1.x
The new version uses Symbol
s to store comments so that they will never conflict with normal JSON property fields, so the structure of the return value of method parse()
changes.
For details, see the document