Answers for "how to convert list of string to json array in java"

0

jsonarray to list java

JSONArray data = new JSONArray(); //create data from this -> [{"thumb_url":"tb-1370913834.jpg","event_id":...}]

List<JSONObject> list = data.stream().map(o -> (JSONObject) o).collect(Collectors.toList());
Posted by: Guest on November-19-2020

Code answers related to "how to convert list of string to json array in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language