¡@

Home 

java Programming Glossary: typedto

Gson and deserializing an array of objects with arrays in it

http://stackoverflow.com/questions/3763937/gson-and-deserializing-an-array-of-objects-with-arrays-in-it

from my webservice The structure would be returned as TypeDTO . where TypeDTO is like int id String name ArrayList ItemDTO.. The structure would be returned as TypeDTO . where TypeDTO is like int id String name ArrayList ItemDTO items and ItemDTO.. valid When I call the code as follows Gson gson new Gson TypeDTO mytypes TypeDTO gson.fromJson reply TypeDTO .class Everything..