Gson — Release of Premium Learning Package

Due to the popularity of the Retrofit blog post series published within the Future Studio University, and the positive feedback on our Retrofit book, we’ve decided to publish a series on Gson and consequently, as with a bunch of our Android series, an additional book. A vast majority of our Retrofit readers also use Gson to do the JSON-Java parsing, but struggle with the details.

This book is designed to give you an in-depth learning for Gson. We specifically tailored it for every Java application and not just Retrofit developers. This book will save you a ton of time researching and avoid stressful evenings of bug fixes. If you value your time, this should be something for you.

We cover almost every aspect of Gson with explanations & specific code snippets. This book is for beginners and advanced readers as well. We'll walk you through each topic with direct reference to code examples. Once you've worked through this book, you'll have an extensive knowledge of Gson.

What Topics Are Covered in This Book?

The list below provides a comprehensive overview of covered topics within the book.

  • Introduction to JSON & JSON-Java mapping
  • Quick start to jump right into Gson
  • Mapping of any Java type
  • Deep dive into Gson's configuration & customization options
  • Extensive Custom Serializer & Custom Deserializer
  • Advanced topics (Streaming, Generics, ...)
  • Necessary ProGuard configuration for Android app releases
  • Practical Gson applications (Storing objects in SharedPreferences, Retrofit, ...)
  • Helpful appendix with an overview 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.

Of course, you've a 45 day money back guarantee and get all updates for free.

You’ll find the workbook here:
Gson Workbook on leanpub.com.

We hope you're excited to give our new materials a look. Gson book on leanpub.com.

Explore the Library

Find interesting tutorials and solutions for your problems.