Jackson configuration and extension methods
AnyValueWrapper |
A jackson wrapper to store class name with dynamic type value. Use with care, as it stores the class name in json. data class AnyValueWrapper |
ConstrainedValueWrapper |
A jackson wrapper to store class name with dynamic type value. Only allowed types can be deserialized. data class ConstrainedValueWrapper<T : Any> |
JacksonDeserializer |
Convenient base class for jackson JsonDeserializer. abstract class JacksonDeserializer<T> : JsonDeserializer<T> |
com.fasterxml.jackson.core.JsonParser |
|
com.fasterxml.jackson.databind.module.SimpleModule |
mapper |
The Tock jackson mapper. val mapper: ObjectMapper |
addConstrainedTypes |
Add other constrained types. fun addConstrainedTypes(: Set<KClass<*>>): Unit |