Dynamic JSON Datasource
Create a datasource that reads JSON data
Closed#1: Error: Returning invalid XML
The issue with the source you are working with is that it is JSONP, not JSON. JSONP includes some extra information that breaks PHP’s json_decode() function. I made some changes to allow it to work with JSONP so you will want to grab the latest.
This issue is closed.
@brentburgoyne - Did you get this working?
I followed your instructions verbatim, and I’m getting the following as my XML output.
Here’s what my datasource file looks like…
Any thoughts?