Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 9-Oct-12 21:00pm
v2

If you check it with an online parser like this one: http://json.parser.online.fr/[^], 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: http://markembling.info/2011/07/json-date-time[^]
 
Share this answer
 
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.
 
Share this answer
 
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900