I have parsed the below string but it s not parsed because of the character ('****'),
JSON.parse("{\"data\":\"value \"}")
It throws error,
Uncaught SyntaxError: Unexpected token in JSON at position 15
How can i get rid of this.
Note: In my case i need to skip all the special characters, which came dynamically. So i need to generic solution. Can i make it?