Package-level declarations

Types

Link copied to clipboard
class KondorJson(val defaultContentType: ContentType = APPLICATION_JSON, compactJsonStyle: JsonStyle = JsonStyle.compactWithNulls, prettyJsonStyle: JsonStyle = JsonStyle.prettyWithNulls, init: KondorJson.InitContext.() -> Unit = {}) : AutoMarshallingJson<JsonNode>

Functions

Link copied to clipboard
fun <OUT> BiDiMapping<Boolean, OUT>.asJConverter(): JsonConverter<OUT, JsonNodeBoolean>
fun <OUT> BiDiMapping<String, OUT>.asJConverter(): JStringRepresentable<OUT>
fun <IN : Number, OUT : Any> BiDiMapping<IN, OUT>.asJConverter(valueConverter: JNumRepresentable<IN>): JNumRepresentable<OUT>
Link copied to clipboard
fun <T : Any> JsonConverter<T, *>.autoBody(description: String? = null, contentNegotiation: ContentNegotiation = ContentNegotiation.None, contentType: ContentType = APPLICATION_JSON, renderStyle: JsonStyle = JsonStyle.compactWithNulls): BiDiBodyLensSpec<T>
Link copied to clipboard
inline operator fun <T : Any, R : HttpMessage> KondorJson.invoke(item: T): (R) -> R
inline operator fun <T : Any> KondorJson.invoke(msg: HttpMessage): T
Link copied to clipboard
inline fun <T : Any, JN : JsonNode> KondorJson.InitContext.register(converter: JsonConverter<T, JN>): KondorJson.InitContext
Link copied to clipboard
fun <T : Any> JsonConverter<T, *>.wsAutoBody(renderStyle: JsonStyle = JsonStyle.compactWithNulls): BiDiWsMessageLensSpec<T>