parse a complex json object in java which has some int value in one node -
plz me parse below json.i getting json 1 source problem has 1 int value in 1 of node item id value. "28": { , "44": {
there @ node position , not able parse it.
{ "request": { "target": "some target", "format": "json", "service": "some service", "version": "2" }, "response": { "status": 1, "httpstatus": 200, "data": { "28": { "offer": { "id": "28", "name": "some name", "description":"some data", "url": null, "url2": null, } }, "44": { "offer": { "id": "44", "name": "some name", "description":"some data", "url": null, "url2": null, } } } } }
define 'data'
hashmap<string,string>
if using jackson parsing
Comments
Post a Comment