¡@

Home 

java Programming Glossary: testobject

Trouble with Gson serializing an ArrayList of POJO's

http://stackoverflow.com/questions/5813434/trouble-with-gson-serializing-an-arraylist-of-pojos

IOException Gson gson new Gson Make Serial String s List TestObject list Collections.synchronizedList new ArrayList TestObject list.add.. TestObject list Collections.synchronizedList new ArrayList TestObject list.add new TestObject list.add new TestObject s gson.toJson.. new ArrayList TestObject list.add new TestObject list.add new TestObject s gson.toJson list ArrayList.class System.out.println..