Javascript cannot read this json string, because it contains a single quote character, which it sees as the end of the string.
How can I avoid a single quote so that it is not considered to be the end of a line?
var json = '{"1440167924916":{"id":1440167924916,"type":"text","content":"It a test!"}}'; var parsed = JSON.parse(json);
json javascript
ezero
source share