Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Moshi.Builder |
add(JsonAdapter.Factory factory) |
Moshi.Builder |
add(Object adapter) |
<T> Moshi.Builder |
add(Type type,
Class<? extends Annotation> annotation,
JsonAdapter<T> jsonAdapter) |
<T> Moshi.Builder |
add(Type type,
JsonAdapter<T> jsonAdapter) |
Moshi |
build() |
public <T> Moshi.Builder add(Type type, JsonAdapter<T> jsonAdapter)
public <T> Moshi.Builder add(Type type, Class<? extends Annotation> annotation, JsonAdapter<T> jsonAdapter)
public Moshi.Builder add(JsonAdapter.Factory factory)
public Moshi.Builder add(Object adapter)
@CheckReturnValue public Moshi build()
Copyright © 2018. All rights reserved.