Google Gson provides useful annotations which can customize the serialization/deserialization of object to/from JSON. We will see commonly used Google…
Lets learn Gson ExclusionStrategy and how it can help us.What if you want to exclude some fields from Serialization and…
Sometimes default serialization/deserialization used by GSON is not sufficient enough and we need a custom behavior to be applied while…
Similar to Jackson Streaming API, Google GSON too provides streaming API for the situation where performance is utmost important. Gson…
Similar to Jackson API, Google GSON API provides a conceptual tree notion for JSON. Google Gson Tree model API provides…
This post explains converting Java object to/from JSON using Google GSON library. To get hold of JSON Basics concepts, please…
Previous data-binding posts gave the idea about how the POJO's are mapped to JSON and viceversa using ObjectMapper API. This…
For situations where performance is most critical, Jackson comes with Streaming API which is a high performance, sequential access api,…
Conceptually JSON can be represented as a Tree (similar to DOM tree). Therefore it is possible to traverse to individual…
Since JSON format is essentially a key-value pair grouping, JSON can easily be converted to/from Java maps. This post is…