I am facing problem with parsing json data. Here is my json
*json string : {final:[{id:1,value:14,name:Mohammad Arif}]}*
*
*
and here is android code :
*String jsonstring=jsonstring;* // the above json string
*jobject=new JSONObject(jsonstring);*
*JSONObject
The error message is correct. final is not a JSONObject. It is a
JSONArray. You can tell that by the square brackets, instead of
braces.
On Wed, May 25, 2011 at 1:57 PM, Expressions Unlimitted
expressions.j...@gmail.com wrote:
I am facing problem with parsing json data. Here is my json
json
Yeah, mark is right. Its a JSONArray.
On Wed, May 25, 2011 at 11:48 PM, Mark Murphy mmur...@commonsware.comwrote:
The error message is correct. final is not a JSONObject. It is a
JSONArray. You can tell that by the square brackets, instead of
braces.
On Wed, May 25, 2011 at 1:57 PM,
3 matches
Mail list logo