-
Notifications
You must be signed in to change notification settings - Fork 260
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
JSON5 Support #132
Labels
enhancement
New feature or request
Comments
I'll consider it in the future, but it's not a high priority right now. Supporting more non-standard JSON formats could affect the parsing performance of standard JSON. So I need to do more evaluation before making any changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Would YYJSON support JSON5 standard? It expands the JSON spec to support previously non-standard comments, single quotes, and trailing commas, also adds infinite numbers, multiline strings, and hex representations, etc.
At the moment, I'm more interested in reading JSON5 than having write support. Programs usually have full control of its output, but most inputs may be user-supplied or produced by another program, which may have already adopted JSON5.
Describe alternatives you've considered
Some of these additions in JSON5 can be read/write with YYJSON's nonstandard options, but most of the new syntax is considered invalid JSON, therefore unusable.
Additional context
None.
The text was updated successfully, but these errors were encountered: