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

· Packt Publishing Ltd
13 reviews
Ebook
60
Pages
Tools

About this ebook

Learn to create JSON data from Java objects and implement them in an application with the GSON libraryKey Features
  • 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
Book DescriptionGSON 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.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
Who this book is for

Instant GSON is for software developers who are new to the GSON library, and who are looking to explore it in depth. You should have some experience in Java programming and Java POJO classes.

Learn to create JSON data from Java objects and implement them in an application with the GSON libraryKey Features 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 Exclusio...

Discover more

Ratings and reviews

13 reviews
Parthasarathi Patra
September 24, 2014
A very worthy and great book for those needing the basic fundamentals and concepts on GSON. All concepts explained clearly. Must recommended for all beginners as well as developers.
1 person found this review helpful
Did you find this helpful?
Suresh Jidagam
September 23, 2014
This is good book for beginners on GSon, clearly explained! I would recommend for all beginners!!!
Did you find this helpful?
Venkat Raman
September 22, 2014
very good book on GSon. I will recommend this book to all the beginners.
Did you find this helpful?

About the author

Sandeep Kumar Patel is a senior web developer and founder of http: //www.tutorialsavvy.com, a widely-read programming blog founded in 2012. He has more than 4 years of experience in object-oriented JavaScript and JSON-based web application development. He completed his Master's degree from VIT University, Vellore.His recent achievements include: Dzone MVB: - Received Dzone Most Valuable Blogger for technical publications related to web technologies - His article can be viewed at the following URL: http: //www.dzone.com/users/sandeepgiet JCG: - Received Java Code Geek (JCG) Badge for technical article published in JCG. - His article can be viewed at the following URL: http: //www.javacodegeeks.com/author/san ... mar-patel/
Sandeep Kumar Patel is a senior web developer and founder of http: //www.tutorialsavvy.com, a widely-read programming blog founded in 2012. He has more than 4 years of experience in object-oriented JavaScript and JSON-based web application development. He completed his Master's degree from VIT Un...

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.