Articles tagged in: Gson



Gson Advanced — Custom Instance Creator

In this blog post, we'll look at one more component when it comes to custom deserialization. In the past few blog posts, we've explored how to customize the serialization and deserialization of your data. In both cases we're trying to mitigate differences in the data models between server and client. …

Continue Reading

Gson Advanced — Generics

In this blog post, we'll explore how Gson deals with Java generics. Generics are a challenge for any data mapping library, since they bring an uncertainty with them. If you want to review Java generics, use cases and implications, feel free to read up on the Wikipedia article. Gson is …

Continue Reading

Gson Advanced — Mapping of Enums

At the beginning of this series, we've shown you how to map nested objects, arrays and lists, Java maps and more. In this blog post, you'll learn how to (de)serialize Java enums. Of course, this is not the only post in our Gson series. If you're interested in the …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.