java - Read the values from the jsonArray -


i have jsonarray below

system.out.println(jsonarray.get(i)); //output ["4","3","2","1","3","5","6"] 

how can access values inside array. example if want value 2 above array @ index 2, should use value

assuming have org.json.jsonarray

string s = jsonarray.getjsonarray(i).getstring(2); 

should trick.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -