ConfigurableMoshi
open class ConfigurableMoshi(builder: Moshi.Builder, val defaultContentType: ContentType = APPLICATION_JSON, strictness: StrictnessMode = Lenient) : AutoMarshallingJson<MoshiNode>
Inheritors
Constructors
Link copied to clipboard
constructor(builder: Moshi.Builder, defaultContentType: ContentType = APPLICATION_JSON, strictness: StrictnessMode = Lenient)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any> Body.Companion.auto(description: String? = null, contentNegotiation: ContentNegotiation = None, contentType: ContentType = defaultContentType): BiDiBodyLensSpec<T>
Link copied to clipboard
inline fun <T : Any> autoBody(description: String? = null, contentNegotiation: ContentNegotiation = None, contentType: ContentType = defaultContentType): BiDiBodyLensSpec<T>
Link copied to clipboard
open fun body(description: String?, contentNegotiation: ContentNegotiation): BiDiBodyLensSpec<MoshiNode>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Convenience function to read an object as JSON from the message body.
Convenience function to write the object as JSON to the message body and set the content type.
open fun Body.Companion.json(description: String?, contentNegotiation: ContentNegotiation): BiDiBodyLensSpec<MoshiNode>
Link copied to clipboard
Link copied to clipboard