Skip to content

Instantly share code, notes, and snippets.

Last active Jul 24, 2016
What would you like to do?
JSONArray myJsonArry = new JSONArray(longJsonString);
List<Object> myArrayList = new ArrayList<Object>(toList(myJsonArry));
Collection<Map<String,String>> mapsCol = new HashSet<Map<String,String>>();
for (int i=0; i < myArrayList.size(); i++) {
mapsCol.add((HashMap<String, String>)myArrayList.get(i));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment