TraceMoshi

Properties

Link copied to clipboard
open override val defaultContentType: ContentType

Functions

Link copied to clipboard
open fun <T : MoshiNode> array(value: T): MoshiNode
open fun <T : MoshiNode> array(value: Iterable<T>): MoshiNode
Link copied to clipboard
inline fun <T : Any> asA(input: InputStream): T
inline fun <T : Any> asA(input: String): T
fun <T : Any> String.asA(target: KClass<T>): T
fun <T : Any> MoshiNode.asA(target: KClass<T>): T
open override fun <T : Any> asA(input: InputStream, target: KClass<T>): T
open override fun <T : Any> asA(input: String, target: KClass<T>): T
open override fun <T : Any> asA(j: MoshiNode, target: KClass<T>): T
Link copied to clipboard
open override fun MoshiNode.asCompactJsonString(): String
Link copied to clipboard
open override fun asFormatString(input: Any): String
Link copied to clipboard
open fun asInputStream(input: Any): InputStream
Link copied to clipboard
open override fun <T : Iterable<MoshiNode>> T.asJsonArray(): MoshiArray
Link copied to clipboard
open override fun String.asJsonObject(): MoshiNode
open override fun asJsonObject(input: Any): MoshiNode
Link copied to clipboard
fun <T : Any> asJsonString(t: T, c: KClass<T>): String
Link copied to clipboard
open override fun BigDecimal?.asJsonValue(): MoshiNode
open override fun BigInteger?.asJsonValue(): MoshiNode
open override fun Boolean?.asJsonValue(): MoshiNode
open override fun Double?.asJsonValue(): MoshiNode
open override fun Int?.asJsonValue(): MoshiNode
open override fun Long?.asJsonValue(): MoshiNode
open override fun String?.asJsonValue(): MoshiNode
Link copied to clipboard
open override fun MoshiNode.asPrettyJsonString(): String
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any> autoBody(description: String?, contentNegotiation: ContentNegotiation, contentType: ContentType): BiDiBodyLensSpec<T>
Link copied to clipboard
inline fun <IN : Any, OUT : Any> autoLens(lens: BiDiLensSpec<IN, String>): BiDiLensSpec<IN, OUT>
Link copied to clipboard
open fun body(description: String?, contentNegotiation: ContentNegotiation): BiDiBodyLensSpec<MoshiNode>
Link copied to clipboard
open override fun bool(value: MoshiNode): Boolean
Link copied to clipboard
open fun boolean(value: Boolean): MoshiNode
Link copied to clipboard
open fun compact(node: MoshiNode): String
Link copied to clipboard
open fun compactify(input: String): String
Link copied to clipboard
inline fun <IN : Any, OUT : Any> convert(input: IN): OUT
Link copied to clipboard
open override fun decimal(value: MoshiNode): BigDecimal
Link copied to clipboard
open override fun elements(value: MoshiNode): List<MoshiNode>
Link copied to clipboard
open override fun fields(node: MoshiNode): List<Pair<String, MoshiNode>>
Link copied to clipboard
open override fun integer(value: MoshiNode): Long
Link copied to clipboard
open operator fun <T> invoke(fn: Json<MoshiNode>.() -> T): T
Link copied to clipboard
inline fun <T : Any> HttpMessage.json(): T
inline fun <T : Any, R : HttpMessage> R.json(t: T): R
open fun Body.Companion.json(description: String?, contentNegotiation: ContentNegotiation): BiDiBodyLensSpec<MoshiNode>
Link copied to clipboard
Link copied to clipboard
open fun nullNode(): MoshiNode
Link copied to clipboard
open fun number(value: BigDecimal): MoshiNode
open fun number(value: BigInteger): MoshiNode
open fun number(value: Double): MoshiNode
open fun number(value: Int): MoshiNode
open fun number(value: Long): MoshiNode
Link copied to clipboard
open fun obj(): MoshiNode
open fun <T : MoshiNode> obj(vararg fields: Pair<String, T>): MoshiNode
open fun <T : MoshiNode> obj(value: Iterable<Pair<String, T>>): MoshiNode
Link copied to clipboard
open fun parse(input: String): MoshiNode
Link copied to clipboard
open fun prettify(input: String): String
Link copied to clipboard
open fun pretty(node: MoshiNode): String
Link copied to clipboard
open fun string(value: String): MoshiNode
Link copied to clipboard
open override fun text(value: MoshiNode): String
Link copied to clipboard
open override fun textValueOf(node: MoshiNode, name: String): String?
Link copied to clipboard
open override fun typeOf(value: MoshiNode): JsonType