November 2017
Intermediate to advanced
420 pages
10h 29m
English
The main class in the Gson library that you will use for building an object model from the JSON data is the com.google.gson.Gson class. Here is a list of the core Gson classes from the object model API category:
|
Class |
Description |
|
com.google.gson.GsonBuilder |
This class is useful when you need to construct a Gson instance, overriding the default configurations such as custom date format, pretty printing, and custom serialization. |
|
com.google.gson.Gson |
This class is the main class for using Gson. This class does conversions from JSON to Java objects and the other way round. |
|
com.google.gson.reflect.TypeToken<T> |
This class is used for getting a generic type for a class. The ... |