Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

arraylist to json array

ArrayList<String> list = new ArrayList<String>();
list.add("foo");
list.add("baar");
JSONArray jsArray = new JSONArray(list);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #arraylist #json #array
ADD COMMENT
Topic
Name
4+3 =