The following conversion fails saying bad control character
var myObj = JSON.parse('{"imagePath": "http://somedomain.com/test.jpg?path=\728\1.jpg"}');
console.log(myObj);
is that because of the following characters "\" in the image path , if so do we have any solution for this?
If i remove that character it works.
Thanks.
JSON.parse('{"imagePath": "http://somedomain.com/test.jpg?path=\\\\728\\\\1.jpg"}')why wouldn't just 1 be enough?path=\\728\\1.jpgisn't working for me.