I am having some troubles with the JSON API plugin : http://wordpress.org/extend/plugins/json-api/
Everything seems to work just fine except that when I try to validate to JSON here : http://jsonlint.com/ with a post or a page of posts it does not validated as it seems carriage return are added randomly and if a just delete the return before the new lines, it does validate
example if you take http://www.stupidbook.fr/api/get_post/?id=42960 here and try to validated it in jsonlint.com it will give you an error on line 11 but if you make sure that line 11 is on only one line, it does validate for this line and goes to the next one with the same issue (line 58 here).
What could it be ? A plugin ? WordPress version ? I cannot use it parsed with jQuery because of that …
for example, categories are working just fine.
Does someone had the same issue ?
Thank you for your help.
- The topic ‘JSON API output validation issue : Carriage return added randomly’ is closed to new replies.