tock / ai.tock.shared.jackson

## Package ai.tock.shared.jackson

Jackson configuration and extension methods

### Types

#### 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>`

### Extensions for External Classes

#### com.fasterxml.jackson.core.JsonParser |
#### com.fasterxml.jackson.databind.module.SimpleModule |

### Properties

#### mapper | The Tock jackson mapper. `val mapper: ObjectMapper`

### Functions

#### addConstrainedTypes | Add other constrained types. `fun addConstrainedTypes(types: Set<KClass<*>>): Unit`