Book description
Learn to create JSON data from Java objects and implement them in an application with the GSON library
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results
- Convert JAVA Objects to JSON representation and vice versa
- Learn about the Field Exclusion strategy
- Write your own JSON converter
In Detail
GSON is a specialized Java-based library for handling JSON data, developed by Google. GSON demonstrates an efficient use of CPU time, memory efficiency, the library, and developer productivity. This book will help you implement GSON in your Java project.
Instant GSON is a practical, hands-on guide that provides you with all the implementation features of the GSON API through coded examples, which will help you take advantage of the real power that is behind the GSON API, and give you a good grounding to use it in your projects.
Instant GSON starts with an introduction to the JSON data format and GSON library. It will take you through the configuration steps required to set up a GSON-based Java project. You will learn about the top features of the GSON library, which includes handling generic type and nested class objects in Java, implementing versioning support, exclusion strategies, and pretty printing. At the end of the book you will find some useful references to articles, blogs, and active communities.
Table of contents
-
Instant GSON
- Instant GSON
- Credits
- About the Author
- About the Reviewers
- www.packtpub.com
- packtlib.packtpub.com
-
Instant GSON
- So, what is GSON?
- Configuring GSON in Eclipse
- Quick start – creating your first JSON in GSON
- Top 12 features you need to know about
- People and places you should get to know
Product information
- Title: Instant GSON
- Author(s):
- Release date: August 2013
- Publisher(s): Packt Publishing
- ISBN: 9781783282036
You might also like
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Codeless Data Structures and Algorithms : Learn DSA Without Writing a Single Line of Code
In the era of self-taught developers and programmers, essential topics in the industry are frequently learned …