Articles tagged in: Gson



Gson Builder — Relax Gson with Lenient

The formatting of JSON content has to fulfill some specific rules to be compliant with the standard. The standard is described in the RFC4627 specification. It lays the foundation on how keys and values are separated, how arrays are structured and so on. In this blog post we'll explore how …

Continue Reading

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

Explore the Library

Find interesting tutorials and solutions for your problems.