It looks like you are entering a new line without slipping away from it. You need to avoid backslashes.
The following errors occur because you enter a new line in a string in JSON, they must be escaped
var obj = JSON.parse('{"prop": "Cost to Implement \nRate 5 to 1\nHigh = 5\nLow = 1"}');
Backslash Escape
// Works fine var obj = JSON.parse('{"prop": "Cost to Implement \\nRate 5 to 1\\nHigh = 5\\nLow = 1"}');
Note that these newlines (and other characters that should be escaped as tabs, backspaces ...) will be escaped automatically if you arrange your JSON objects correctly. for instance
// Correctly parses the new line JSON.parse(JSON.stringify({prop: "Line1\nLine2\tAfterTab"}))
source share