I’ve exported a table from a MySQL database, choosing the JSON export option.
When I try to validate the file via an online formatter, I’ve found some problems with invalid characters. Extract of JSON file here: http://pastie.org/4149200.
I used http://jsonformatter.curiousconcept.com/ to validate the file. The errors are occurring on product_desc.
Any help would be appreciated.
Regards,
Stephen
That’s because of the line breaks inside your string value. Encode them as
\n.