Articles tagged in: Gson



Gson Builder — Exclusion Strategies

In the previous blog posts, you've learned a few techniques to control which model properties get (de)serialized. So far, this always has been on the property level. You can change the (de)serialization for one element at a time. In this blog post, we'll look at a way to …

Continue Reading

Gson — Mapping of Null Values

In our few Gson blog post, we've introduced to you what Gson is and how it can map various JSON data structures to Java objects and vice versa. Of course, a lot of questions stayed unanswered. In this blog post, we'll answer one of the most interesting ones. If you …

Continue Reading

Gson — Mapping of Sets

In the last two blog posts, we've shown you how to map list data and Java maps using Gson. In this blog post, you'll learn how to (de)serialize Java Sets. Of course, this is not the only post in our Gson series. If you're interested in the other topics, …

Continue Reading

Gson — Mapping of Maps

After publishing multiple blog posts on how to work with a variety of data types, we'll explore working with Java Maps in this one. You'll learn how to (de)serialize Java Maps using the Gson library. Of course, this is not the only post in our Gson series. If you're …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.