fastjson
fastjson copied to clipboard
SyntaxError: JSON.parse: bad control character in string literal at line 1 column 265 of the JSON data
The reason seems to be a \n newline character in a string. I would have expected that this get's automatically escaped by fast json. Is fast json so fast that it doesn't do the necessary jobs?
i have a try as u say but no problem have been found can u upload your code ,then i can try my best to fix it
'\n' at the end string caused the error. bug fixed, i will include in 1.2.9 & 1.1.49.android