Companion
object Companion
Functions
Link copied to clipboard
Creates a decoder that uses the given Moshi instance for decoding objects and is compatible with application/json
.
Creates a decoder that uses the given Moshi instance for decoding objects and is compatible with the given media types.
Link copied to clipboard
Creates an encoder that uses the given Moshi instance for encoding objects and is compatible with application/json
.
Creates an encoder that uses the given Moshi instance for encoding objects and is compatible with the given media types.