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
Parse error while parse the json string contains UTF 8 encoded document bytes string #684
Hi,
I am sending json string with UTF 8 encoded document bytees string from asp.net and receiving the json from c++ program , i am getting parse error while trying to parse the received json string to json object
The error message indicates that there is a JSON syntax error due to an unexpected quote character. Maybe docBytesStr contains a string with an unescaped quote? Can you validate that the string you pass to parse is valid JSON?
Activity
nlohmann commentedon Aug 9, 2017
Could you post the error message and the exact content of
jsonStr?sivapooja commentedon Aug 9, 2017
Error message is
the json string is very large because it contains the document byte string
nlohmann commentedon Aug 9, 2017
The error message indicates that there is a JSON syntax error due to an unexpected quote character. Maybe
docBytesStrcontains a string with an unescaped quote? Can you validate that the string you pass toparseis valid JSON?nlohmann commentedon Aug 10, 2017
Any news on this?
nlohmann commentedon Aug 14, 2017
@sivapooja Any news on this?