Android json parsing -


how parse type of json arrary

[{'name':'john', 'age': 44}, {'name':'alex','age':11}] 

where can't this:

jsonarray datalistarray = jobject.getjsonarray("???"); 

you can use string initialize json array.

string json = "[{'name':'john', 'age': 44}, {'name':'alex','age':11}]"; jsonarray json = new jsonarray(json); 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -