json - JSONException occurred during parsing -


i have follow map:

{ errors=[],  warnings=[],  items=[{     itemkey=3806,      errors=[],      warnings=[<span style="color: #000;">der titel ist im unternehmen bereits vorhanden.</span>] }],  surchargeitems=[{     parentconfigurationkey=3806,      surchargedescription=logistikkosten,      surchargeprice=1.00,      surchargecurrencyid=eur}] } 

and during calling method parse of grails.converters.json class have follow exception:

org.codehaus.groovy.grails.web.json.jsonexception: expected ',' or ']' @ character 79 of {errors=[], warnings=[], items=[{itemkey=3806, errors=[], warnings=[

how can parse html json contains? thx!

share|improve question
1  
that's not json. it's not close being valid json. it's not valid javascript – marc b jul 15 '16 @ 18:48
    
it sounds butchered around warnings section. – fallenreaper jul 15 '16 @ 18:50
2  
here, try this: jsonlint.com. if passes there, i'll bet converter parse it – billjamesdev jul 15 '16 @ 18:51

your answer

 
discard

posting answer, agree privacy policy , terms of service.

browse other questions tagged or ask own question.

Comments