I am stuck with code actually i am using spring MVC 4. I have one condition where i need to pass the json object at controller side an iterate it. My Json object look like below
{"comptocome":[
{"1":"Key Parameters","2":"Cellular Limited","3":"limited","4":"Cellular Limited"},
{"1":"- Long term","2":"Reaffirmed","3":"football","4":"golf"}
]
}
with respect to above i have pass this to controller and iterate according to the number of row for example from above two times loop and also to fetch data as per key can any one help me out sort this problem with help of import org.json.simple.JSONObject package.
Thanks in advance.