var stringsObj JSON.parse( json stringsDataObj ) As you see, the single quotes up-there make that line of code a valid JS code.Is there a way to escape also single quotes in JSON.stringify? Im receiving JSON data from server that contains text which should have an apostrophe but instead I see the escape code for an apostrophe. Is this an issue with the way the JSON is formatted? This is how I have it on server-side I need to store the following json message in sqlite. However I am unable to do it since my input message has single quotes in it. Although the escaping of double quotes are handled, the single quote still throws an error.Single Quote Json Php Jsonencode Escape Single Quote Medical quotes Women quotes USA quotes Insult quotes Hang in There quotes Faith quotes Best Friends Forever quoteshippoquotes is an advanced image quotes search engine that allows users to view quotations in a gallery style. Here the message contains single quotation mark, which is same as the quotation used in JSON.There is no escape sequence in JSON for single quotes, and a JSON string cannot be single-quoted. setEscapeSingleQuote() public method. If true, single quotes will be escaped as "u0027".