November 2017
Intermediate to advanced
420 pages
10h 29m
English
Gson offers simpler APIs to convert the JSON representation into Java objects. To do this, you can call the fromJson(Reader json, Class<T> classOfT) method on the com.google.gson.Gson object. The following example will help you understand the end-to-end use of Gson APIs for deserializing the JSON content to Java objects: