Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for JSON5 #79

Open
cassiorenan opened this issue Jun 27, 2020 · 3 comments
Open

Support for JSON5 #79

cassiorenan opened this issue Jun 27, 2020 · 3 comments
Labels
Feature:Json5 hacktoberfest Open For Hacktoberfest PRs

Comments

@cassiorenan
Copy link

Json5 is a really nice superset of JSON. Any plans on supporting it?

@kapilratnani
Copy link
Collaborator

JSON5 looks good. Can you recommend a C/C++ parser implementation with SAX?
I use rapidjson which supports just comments.

@kapilratnani kapilratnani added FeatureRequest hacktoberfest Open For Hacktoberfest PRs labels Oct 6, 2020
@lifw555
Copy link

lifw555 commented Jul 25, 2022

i want to use comments.

thx.

if i use comments and format it , then comments lost

@SinghRajenM
Copy link
Collaborator

Yes, Rapidjson does not supports comments fully. It removes them while formatting and this is due to SAX parsing. SAX parser just ignores the comments.

Other parsers does not suppots SAX parsing as this moment. Will explore more what can be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Json5 hacktoberfest Open For Hacktoberfest PRs
Projects
None yet
Development

No branches or pull requests

4 participants