62
rated 0 times
[
68]
[
6]
/ answers: 1 / hits: 61736
/ 12 Years ago, sat, july 21, 2012, 12:00:00
In my website I try to convert a string to JSON which contains a newline.
JSON.parse('{hallo:line1rnline2,a:[5.5,5.6,5.7]}');
This produces an Unexpected token error. Do I need to escape that somehow?
More From » json