Skip to content

Conversation

@remicollet
Copy link
Contributor

To reduce diff with current parser implentation in PHP, here is add more optional strictness.

According to http://json.org/

A <i>string</i> is a sequence of zero or more Unicode characters, wrapped in double quotes, ...

So, with this change, single-quoted string still accepted in standard mode, and refused in strict mode.

@remicollet
Copy link
Contributor Author

Latest also fixes #100

hawicz added a commit that referenced this pull request Sep 8, 2013
@hawicz hawicz merged commit 02aa6f0 into json-c:master Sep 8, 2013
@remicollet remicollet deleted the issue-strict2 branch September 9, 2013 08:45
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.

2 participants