Start a new topic

JSON Parsing HELP

JSON Parsing HELP


Hi,

I tried and run the obtaining poi and it works, but when I tried to parsed Json from external site nothing happened. for example I want to parse data from this site "http://headers.jsontest.com" . Please help me or show me other work around. I'm using $.getJson(). Thanks!

Without knowing your detail setup I can only guess. But, there are a few things you can check:

1. Try to run it inside a normal desktop browser. We offer the ade.js that makes this possible and you just have to load it inside your html file.

2. Use the desktop browser debugging tools to check if there are any javascript errors or connection problems.

3. cross domain requests can be a problem. You will need to find a way to either allow cross origin requests on the server you are connecting to or use a different method like JSONP.

Hope this helps.
Login or Signup to post a comment