What is the easiest and most efficient way to convert org.json.JSONArray to List?
Asked
Active
Viewed 1.5k times
7
-
4Which do you want? Easiest or most efficient? :-) – Stephen C Nov 01 '12 at 05:40
-
1Take a for loop and iterate through Json array store in list, is easiest way – Tofeeq Ahmad Nov 01 '12 at 08:00
-
possible duplicate of [Convert Json Array to normal Java Array](http://stackoverflow.com/questions/3395729/convert-json-array-to-normal-java-array) – Aleks G Nov 01 '12 at 08:55
-
FYI, `net.sf.JSONArray` implements `java.util.List`. – Sridhar Sarnobat Sep 03 '15 at 20:10