Link to home
Start Free TrialLog in
Avatar of erikTsomik
erikTsomikFlag for United States of America

asked on

Coldfusion Decerialize

I decerialize the CF structures. and it works just fine. Now I am decerializing the the string but structure works and the other one does not. I am getting an error message

JSON parsing failure at character 4:'R' in "{"RUBRICTITLE":"test rubric22","OBSERVESELF":1,"INPERSON":0,"USENOTOBSERVED":1,"TRIGGERDAYS":0,"FIXEDDUEDATE":"","REPEATPERIOD":0,"DUEDATERULE":0,"ASSIGNMENTNAME":"msg test 1 - self","MAXPOINTS":3,"ASSIGNMENTTYPE":0,"ANONYMOUS":0,"RUBRICASSIGNMENTID":47}"
ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Check your json string with json parser:

http://jsonlint.com/

Just checked, This is your valid JSON Format:

{
    "RUBRICTITLE": "test rubric22",
    "OBSERVESELF": 1,
    "INPERSON": 0,
    "USENOTOBSERVED": 1,
    "TRIGGERDAYS": 0,
    "FIXEDDUEDATE": "",
    "REPEATPERIOD": 0,
    "DUEDATERULE": 0,
    "ASSIGNMENTNAME": "msg test 1 - self",
    "MAXPOINTS": 3,
    "ASSIGNMENTTYPE": 0,
    "ANONYMOUS": 0,
    "RUBRICASSIGNMENTID": 47
}

Open in new window


Just remove quotes from the start and the end