I have a JSON like this :
{
- 0: {
"title": "Title1",
"content": "test"
},
- 1: {
"title": "Title2",
"content": "test2"
}
}
So i want to recover it in my application, and i have an exception with this line :
JSONArray jArray = new JSONArray(result);
I checked that "result" contains my JSON, and it's the case.
When i see the error in the logcat i just see values of my JSON.... i have something like that :
org.json.JSONException and values of my JSON
Could someone help me ?