Monthly Archives: July 2009

YQL and JSONP-X (aka. json-p-x, jsonpx, json-px)

With all the buzz about YQL’s new Insert/Update/Delete, a new feature JSONP-X was also released at the same time.
JSONP-X is essentially an escaped XML string as a JSON result wrapped in a javascript callback function. To access this functionality consider this example:
http://query.yahooapis.com/v1/public/yql?q=<my yql query>&format=xml&callback=mycallback
and a basic structure:
myJSCallbackFunction({
“query”: {yql meta data here},
[...]

Posted in yahoo | Tagged , , | 4 Comments