1. #1
    Ext User
    Join Date
    Jan 2010
    Posts
    1
    Vote Rating
    0
    soursurfer is on a distinguished road

      0  

    Default 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.

  2. #2
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    7
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default


    Your problem exists somewhere in this string...

    Code:
    'Kaiser's Pizza'
    See the problem?

    While were at it, to be considered valid JSON, double quotes should be used...

    Code:
    {
        "restaurants": [
            {
                "key": "agt0aW1lLXRvLWVhdHIRCxIKUmVzdGF1cmFudBiACAw",
                "name": "Kaiser's Pizza",
                "url": "http: //local.yahoo.com/info-43757960-kaiser-s-pizza-kenosha" 
            } 
        ]
    }
    Validate your JSON here

Thread Participants: 1