-
21 Jan 2010 3:18 PM #1
missing } after property list
missing } after property list
I am experiencing said error for the following JSON object:
{'restaurants':[{'key':'agt0aW1lLXRvLWVhdHIRCxIKUmVzdGF1cmFudBiACAw','name':'Kaiser's Pizza','url':'http://local.yahoo.com/info-43757960-kaiser-s-pizza-kenosha'}]}
Can anyone identify what I have done wrong? The syntax seems to be identical to syntax I have used in the past succesfully.
-
21 Jan 2010 6:05 PM #2
Your problem exists somewhere in this string...
See the problem?Code:'Kaiser's Pizza'
While were at it, to be considered valid JSON, double quotes should be used...
Validate your JSON hereCode:{ "restaurants": [ { "key": "agt0aW1lLXRvLWVhdHIRCxIKUmVzdGF1cmFudBiACAw", "name": "Kaiser's Pizza", "url": "http: //local.yahoo.com/info-43757960-kaiser-s-pizza-kenosha" } ] }-Shea
My Blog:VinylFox | Twitter:@VinylFox | JavaScript Magazine:JSMag | Curator of the Baltimore/DC JavaScript Meetup | Author: Learning ExtJS 3.x Book
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs


Reply With Quote
