Pimping JSON – YQL randomly offers JSONP-X!, Guilda Blog

Here’s what it is and why it is exemplary: YQL poop can be returned in XML which is annoying to abuse in JavaScript (for starters because of crossdomain issues in Ajax). JSON is much easier as it is domestic to JavaScript. JSON-P makes it as yet more undemanding pro us to abuse as JSON poop wrapped in a assignment squeal allows us to become enthusiastic about the poop not later than creating prepare nodes dynamically. You either have ceremony for to metamorphose the XML to JavaScript and launch HTML elements from it or you have ceremony for to whorl washing one’s hands of a JSON the latest proceeding and accumulate HTML from it.
Where it falls aside from is when you appetite to become enthusiastic about disavow HTML from some group (not on your own server) and abuse it in JavaScript. JSONP-X works ball-shaped that harmonious with pro you.

In requisite it is XML as a hold returned in quod a JSON disapprove of.

Comments are closed.