Click here to Skip to main content
Rate this: bad
good
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
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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[^]
  Permalink  
Rate this: bad
good
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.
  Permalink  
Comments
Ranveer Singh Rajput at 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
0 OriginalGriff 386
1 Marcin Kozub 225
2 Sergey Alexandrovich Kryukov 215
3 Maciej Los 169
4 /\jmot 169
0 OriginalGriff 8,289
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,624
3 Maciej Los 4,989
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2014
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