Upgrading to Moshi

627ce26ea490d993a49d6b263768ca67?s=47 Eric Cochran
September 05, 2017

Upgrading to Moshi

Moshi is the successor to Gson. I will briefly contrast Moshi to Gson and explain the advantages of Moshi's API and implementation. I will cover the power of the streaming API for complex use cases, like polymorphic deserialization, and how Okio's types make building off of Moshi fun and easy. Finally, we will go through how to use Moshi effectively with Retrofit and Auto-Value-Moshi and some tricks to employ when upgrading.

627ce26ea490d993a49d6b263768ca67?s=128

Eric Cochran

September 05, 2017
Tweet