Gson

Enjoy JSON (de-)serialization in Java. Learn every detail about Gson’s capabilities, configuration & customization.

Price: $30

Buy on futurestud.io Buy on Leanpub.com

Our Gson Bundle

Kickstart Your Gson Knowledge Today


Learn Every Detail About Gson

Every modern Java application will need to do some Java-JSON parsing in their application life cycle. Gson is the most commonly used library to do the Java-JSON serialization and deserialization automatically.

Data parsing and mapping is complex. Even though Gson makes things quite simple, there are a lot of details that can trip your development up. If it's crazy data structures, weird variable names or complex dynamic data, you can lose a lot of time on something that should be done in minutes. Gson solves most problems in just a few lines. You just need to know the solutions!

This book includes an extensive introduction to Gson's features. We recommend to read it before you even have to use Gson for the first time. But even if you're already an avid user of Gson and stuck at a problem, we're confident we'll solve your problem.

Use our extensive bundle to learn about:

  • Introduction to JSON & JSON-Java mapping
  • Quick start to jump right into Gson
  • Mapping of any Java Data type
  • Deep dive into Gson's configuration options
  • Practical examples of Gson customization
  • Of course, advanced topics (Streaming, Generics, ...) are also covered
  • Necessary ProGuard configuration for Android app releases
Additionally, you'll get an extensive appendix:
  • Combining a customized Gson with Retrofit 2
  • Overview over common mistakes
  • Exploration of Gson alternatives

Who Is This Book For?

This book is for Android or Java developers who want to get a substantial overview and reference book for Gson. You’ll benefit from the clearly recognizable code examples in regard to your daily work with Gson.

Rookie

If you’re just starting out with Gson (or coming from any other Java-JSON library like Jackson databind) this book will show you all important parts on how to work with Gson. The provided code snippets let you jumpstart and create the first mapping within minutes.

Expert

You already worked with Gson before? You’ll profit from our extensive code snippets and can improve your existing code base. Additionally, the book illustrates various optimizations for an even better performance.

Code Samples

Every code snippet in the book has been tested. We provide our test project as a Leanpub extra. Feel free to download it and check the full code base as you move through the book. We try to keep the code snippets in the book as short as possible. If more context is necessary, the code examples should provide it.

Workbook

For the first time, we provide additional separated resources besides our book. The workbook gives you a chance to implement everything you'll learn in this book yourself. In our experience actually using a library like Gson helps to reinforce the newly gained knowledge. Thus, we've designed the workbook, which gives you a guided playground to experiment and learn the features of Gson.

Beyond the Book

We've sold hundreds of premium eBooks on Leanpub with a very high satisfaction rate. But we're not fulfilled yet and have to take another step further. The Gson package will not just include the eBook, it'll also come with a workbook with practical tasks and solutions, so you can solidify your Gson knowledge.

  • Workbook with practical tasks (and solutions!)
  • The source code from the book

Free Lifetime Updates

We've released our first book on Retrofit in July 2015 and it's still getting updates. The book more than doubled in quantity and jumped up in quality since the initial release. The price of the eBook went up along with its value. The first buyers of our products always get the best deal and the lowest price!

  • We don't do sales with discounts, so don't wait for it
  • Our prices only go up
  • Buy now and get a voice for future improvements

Don't Waste Your Time & Act NOW!