api

http4k / org.http4k.format / AutoMarshallingJson

AutoMarshallingJson

abstract class AutoMarshallingJson (source)

Constructors

Name Summary
<init> AutoMarshallingJson()

Functions

Name Summary
asA abstract fun <T : Any> asA(input: String, target: KClass<T>): T
fun <T : Any> String.asA(target: KClass<T>): T
asInputStream fun asInputStream(input: Any): InputStream
asJsonString abstract fun asJsonString(input: Any): String

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T

Inheritors

Name Summary
ConfigurableMoshi open class ConfigurableMoshi : AutoMarshallingJson
JsonLibAutoMarshallingJson abstract class JsonLibAutoMarshallingJson<NODE : Any> : AutoMarshallingJson, Json<NODE>