Gson is another API for for parsing and creating JSON objects. This chapter explores the latest version of this open source Google product.
What Is Gson ?
Gson (also known as Google Gson) is a small Java-based library for parsing and creating JSON objects. Google developed Gson for its own projects, but later made Gson publicly available, starting with version 1.0. According to Wikipedia, the latest version (at the time of writing) is 2.6.1.
Gson was developed with the following goals in mind:
Provide simple toJson() and fromJson() methods to convert Java objects to JSON objects and ...