espaper-server-php
espaper-server-php copied to clipboard
Double quotes can mess the json data?
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)