javascript - Retrieving JSON with JQuery -


I am trying to recover JSON from JQuery:

How I Received, Pars and How do I perform? JSON in that web page.

I'm new to JSON and JQuery, and the onsite document is a bit difficult to follow.

Thank you,

Momento

go behind sop One way is to use a proxy ( which also converts JSONP ) that means:

  var url = "http: //www.chirpradio Org / json "; JQuery.getJSON ("http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20json%20where%20url%3D%22" + URL + "% 22 & Format = Json & amp; callback =? ", Function (data) {console.log (data.query.results.json); / * where yahoo puts json objects * /});  

However, I would not recommend w / sensitive information (it is unsafe). Your use of radio feed is fine.


Comments