Package-level declarations
Types
Link copied to clipboard
open class ConfigurableJackson(val mapper: ObjectMapper, val defaultContentType: ContentType = APPLICATION_JSON) : AutoMarshallingJson<JsonNode>
Link copied to clipboard
To implement custom JSON configuration, create your own object singleton. Extra mappings can be added before done() is called.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : JsonNodeDataContainer> Body.Companion.json(fn: (JsonNode) -> T, description: String? = null, contentNegotiation: ContentNegotiation = ContentNegotiation.None): BiDiBodyLensSpec<T>
Custom lens to extract and inject Data4k DataContainer types from JSON bodies
Link copied to clipboard
fun <BUILDER> AutoMappingConfiguration<BUILDER>.prohibitUnknownValues(): AutoMappingConfiguration<BUILDER>
Prevent the unmarshalling of unknown values4k types.