Skip to content

Make parsing more relaxed#152

Open
honzchen wants to merge 5 commits into
lloyd:masterfrom
honzchen:master
Open

Make parsing more relaxed#152
honzchen wants to merge 5 commits into
lloyd:masterfrom
honzchen:master

Conversation

@honzchen

@honzchen honzchen commented Jan 5, 2015

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

So ... is this one still alive?

@anjohnson

Copy link
Copy Markdown

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