Skip to content

Make parsing more relaxed #152

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

chen-hongzhi
Copy link

Add ability to allow the comma trailing in the last element of array
(or map); and now can parse a string that enclosed in single-quotes by
defining a macro.

Chen Hongzhi added 4 commits January 6, 2015 01:30
Add ability to allow the comma trailing in the last element of array
(or map); and now can parse a string that enclosed in single-quotes by
defining a macro.
@lamont-granquist
Copy link

This should probably get broken up into two different PRs that address the trailing commas and the quote-style. It'd also be really useful to not have the quote-style be a compile-time #define.

Also, some tests for this functionality would be good to show that it works correctly in the different modes of operation.

I'm very interested in the trailing commas option (and in general all the JSON5 extensions). Dunno if @lloyd is still active, however.

@sunsided
Copy link

So ... is this one still alive?

@anjohnson
Copy link

Check out my branch (PR #211) which goes much further and adds support for most of the JSON5 spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants