A Converter
which uses Moshi for serialization to and from JSON.
A default Moshi
instance will be created or one can be configured and passed to
MoshiConverterFactory.create()
to further control the serialization.
Download the latest JAR or grab via Maven:
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-moshi</artifactId>
<version>latest.version</version>
</dependency>
or Gradle:
compile 'com.squareup.retrofit2:converter-moshi:latest.version'
Snapshots of the development version are available in Sonatype's snapshots
repository.