public final class MoshiConverterFactory extends Object implements Converter.Factory
| Modifier and Type | Method and Description |
|---|---|
static MoshiConverterFactory |
create()
Create an instance using a default
Moshi instance for conversion. |
static MoshiConverterFactory |
create(com.squareup.moshi.Moshi moshi)
Create an instance using
moshi for conversion. |
Converter<?> |
get(Type type)
Create a converter for
type. |
public static MoshiConverterFactory create()
Moshi instance for conversion.public static MoshiConverterFactory create(com.squareup.moshi.Moshi moshi)
moshi for conversion.public Converter<?> get(Type type)
type.get in interface Converter.FactoryCopyright © 2015 Square, Inc.. All Rights Reserved.