-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
string parser does not recognize uncompliant strings #12
Labels
Comments
The parser of https://github.com/dropbox/json11 could give some ideas how to write a compliant parser manually. |
Also http://re2c.org may help (as pointed out by drac667). |
nlohmann
added a commit
that referenced
this issue
Jan 9, 2015
Implemented the JSON spec for string parsing for everything but the \uXXXX escaping - see issue #12.
Fixed in latest commit: re2c is used. |
Closed
Closed
Closed
GerHobbelt
pushed a commit
to GerHobbelt/nlohmann-json
that referenced
this issue
May 7, 2021
Sync Fork from Upstream Repo
2 tasks
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Readme currently states:
And in fact, anything between two unescaped quotes will be treated as strings. However, the JSON standard is very explicit how a string may look like:
As long as the class does not implement this string specification, the class is not fully JSON compliant.
The text was updated successfully, but these errors were encountered: