Skip to content

2.0.9

Compare
Choose a tag to compare
@kaelzhang kaelzhang released this 21 Jun 10:37
· 75 commits to master since this release

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 Symbols 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