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

Optionally enable relaxed JSON parsing in json_parser #13

Closed
prat0088 opened this issue May 12, 2016 · 1 comment
Closed

Optionally enable relaxed JSON parsing in json_parser #13

prat0088 opened this issue May 12, 2016 · 1 comment

Comments

@prat0088
Copy link
Contributor

I'm using json_parser and we have many, many files that have trailing commas. This breaks the current implementation because the official JSON spec does not prohibit trailing commas. Rather than write a custom parser or impose a change on our developers, it would be nice to have an option to enable relaxed mode.

@iafan iafan closed this as completed in 05fc2a2 May 15, 2016
@iafan
Copy link
Contributor

iafan commented May 15, 2016

I decided not to introduce any options, and just support relaxed parsing by default. This is backwards compatible.

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

No branches or pull requests

2 participants