Instant GSON

Learn to create JSON data from Java objects and implement them in an application with the GSON library

Instant GSON

Sandeep Kumar Patel

1 customer reviews
Learn to create JSON data from Java objects and implement them in an application with the GSON library
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.50
RRP $14.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.50
$29.99p/m after trial
RRP $14.99
Subscription
eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781783282036
Paperback60 pages

Book Description

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

Chapter 1: 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

What You Will Learn

  • Convert Java objects to and from JSON
  • Handle generic and null java objects
  • Maintain different versions of serialized JSON
  • Alter the name of fields when serializing
  • Creating user defined annotation to remove fields while serializing
  • Learn about the implementation of GSON in web applications

Authors

Table of Contents

Chapter 1: 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

Book Details

ISBN 139781783282036
Paperback60 pages
Read More
From 1 reviews

Read More Reviews