View Full Version : is this well formed JSON?

7 Dec 2010, 9:20 AM
I tried to tweak the geotweet example to use my JSON Data source (http://mdata.taviatech.com.ng/mobiledb/marketlist) but i just got a blank page..

Can someone please help and check if the JSON from the URL above is well formed?


7 Dec 2010, 9:30 AM

7 Dec 2010, 9:34 AM
thanks but i noticed that when i put the url in , it returned 'invalid json' but if you paste in the raw JSON ..It says its valid..

not sure which one is right..

7 Dec 2010, 9:46 AM
I always take the response to cut and paste as my answer. I just have to make sure I cut and paste everything. (Not sure, but if the url doesn't give a mimetype="application/json" it may not validate via the url. This *shouldn't* be required by sencha touch to decode the response. I believe the default expectation is json)

Have you tried using google chrome and the javascript console, located under developer tools, to check if you are getting any errors?