Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convertir lista a Json en Java

List<String> foo = new ArrayList<String>();
foo.add("A");
foo.add("B");
foo.add("C");

String json = new Gson().toJson(foo );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convertir #lista #Json #en #Java
ADD COMMENT
Topic
Name
3+8 =