Click here to Skip to main content
11,931,104 members (56,646 online)
Rate this:
Please Sign up or sign in to vote.
See more: jQuery JSON
JSON.parse: expected ',' or '}' after property value in object 1.71

[update by op:]
{"status" : "success","id" : 1, "description" : "null", "createddate" : 2012-10-09, "createdby" : 0, "modifieddate" : 2012-10-09, "modifiedby" : 0, "deleted" : false}

That's my json structure !!! I think it's true. But syntax error show when I parse json.
Posted 22-Feb-12 1:36am
Edited 9-Oct-12 22:00pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

If you check it with an online parser like this one:[^], you will see that it is complaining about the dates. You have to pass them in other format (string, numeric for example), check hire about the problem:[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You have not posted any code here, but basically, you would need to include a closing , or } tag at the end of your line of code.
Ranveer Singh Rajput 22-Feb-12 6:40am
It Works Proper I.e. & No Problem at All But Use in Firefox its Occur .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100