You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
string parser does not recognize uncompliant strings #12
Furthermore, we allow for more escape symbols in strings as the JSON specification. While this may not be a problem in reality, we are aware of it, but as long as we have a hand-written parser, we won't invest too much to be fully compliant.
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.
Activity
nlohmann commentedon Jan 5, 2015
The parser of https://github.com/dropbox/json11 could give some ideas how to write a compliant parser manually.
nlohmann commentedon Jan 6, 2015
Also http://re2c.org may help (as pointed out by drac667).
Merge pull request #21 from Teemperor/fixed_escaped_chars
nlohmann commentedon Feb 18, 2015
Fixed in latest commit: re2c is used.
Merge pull request nlohmann#12 from nlohmann/develop