Moshi
class Moshi
Content copied to clipboard
Coordinates binding between JSON values and Java objects.
Moshi instances are thread-safe, meaning multiple threads can safely use a single instance concurrently.
Types
Functions
adapter
Link copied to clipboard
open fun <T> adapter(type: Type, annotationTypes: Array<Class<out Annotation>>): JsonAdapter<T>
Content copied to clipboard
open fun <T> adapter(type: Type, annotationType: Class<out Annotation>): JsonAdapter<T>
Content copied to clipboard
open fun <T> adapter(type: Type, annotations: Set<out Annotation>): JsonAdapter<T>
Content copied to clipboard
open fun <T> adapter(type: Type, annotations: Set<out Annotation>, @Nullable() fieldName: String): JsonAdapter<T>
Content copied to clipboard
newBuilder
Link copied to clipboard
nextAdapter
Link copied to clipboard
open fun <T> nextAdapter(skipPast: JsonAdapter.Factory, type: Type, annotations: Set<out Annotation>): JsonAdapter<T>
Content copied to clipboard