Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

JSON Comments support #24

Closed
neuecc opened this issue Oct 18, 2017 · 1 comment
Closed

JSON Comments support #24

neuecc opened this issue Oct 18, 2017 · 1 comment

Comments

@neuecc
Copy link
Owner

neuecc commented Oct 18, 2017

JSON Comments is invalid JSON Format but used widely(for example, VSCode - settings.json) and also supports JSON.NET. Utf8Json suports both single-line comment and multi-line comment.

{
    // allow single line comment
    "foo": true, // trailing
    /*
      allow
      multi
      line
      comment
    */
    "bar": 999 /* trailing */
}

commit:
5e42348

@neuecc
Copy link
Owner Author

neuecc commented Oct 22, 2017

v1.3.0 includes this improvement.

@neuecc neuecc closed this as completed Oct 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant