espaper-server-php icon indicating copy to clipboard operation
espaper-server-php copied to clipboard

Double quotes can mess the json data?

Open lorol opened this issue 8 years ago • 0 comments

demo.php returns to Mozilla browser: SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 147 column 24 of the JSON data

It is due to an extra " symbol in JSON payload "text": "The 2.9" ESPaper Lite and ..."

I'm not sure how to clean this.

And also all <? to change to <?php tags (this for sure is my PHP setup)

lorol avatar Nov 10 '17 17:11 lorol