Sign in Go Pro



This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next



This is the second of a three-video series exploring the Serialization Moshi, by Square. This is a newer up and coming library that attempts to mimic the best features of GSON while adding some strict rules to its implementation. In this first video we will cover:

  • Omitting fields for deserialization and serialization
  • Working with basic JSON Adapters (AKA Type Adapters) using Dates as an example
  • Adding additional logic to Adapters

The goal of this video is to help you see how JSONAdapters are implemented and used as opposed to how their equivalent TypeAdapters work in GSON. Additionally will demonstrate that there is a simple and convenient method for creating Adapters using annotations.




There are no comments on this lesson, start the conversation below ...

You need to go PRO to post comments.

Lessons in Moshi