Gson
-
Core Java
Efficient JSON Parsing in Java: Jackson vs. Gson vs. JSON-B
Efficient JSON parsing is crucial for Java applications that handle data interchange. Three prominent libraries—Jackson, Gson, and JSON-B—offer robust solutions…
Read More » -
Enterprise Java
Spring MockMVC Get JSON As Object
1. Introduction Spring MockMVC is the Spring MVC testing framework which performs Spring MVC request handling and response asserting via…
Read More » -
Core Java
Read and Write JSON to File with GSON
1. Introduction Using GSON to read and write json to file is easy with the fromJson and toJson APIs. GSON…
Read More » -
Core Java
Gson Support for Java 8 Date-Time Types
Java 8 introduced a robust date and time API with classes such as LocalDate, LocalDateTime, and ZonedDateTime. These classes provide…
Read More » -
Core Java
How to exclude fields in Gson
Google Gson is a library for serializing and deserializing Java objects to and from JSON. Sometimes, it is necessary to…
Read More » -
Core Java
Custom Field Names with @SerializedName in Gson
Gson is a popular Java library for converting Java objects to their JSON representation and vice versa. One of the…
Read More » -
Core Java
Include null Value in JSON Serialization
1. Introduction JavaScript Object Notation (JSON) is text-based data format that is easy for humans to read and write and…
Read More » -
Core Java
Converting JSON Array to Java List with Gson
1. Overview In the realm of modern software development, the manipulation of data interchange formats like JSON (JavaScript Object Notation)…
Read More » -
Enterprise Java
Integrating JQGrid with Spring MVC and Gson
I was working on a single page application where i wanted to use the grid functionality in one part of…
Read More »