tock / ai.tock.shared.jackson / AnyValueWrapper

# AnyValueWrapper

`data class AnyValueWrapper` (source)

A jackson wrapper to store class name with dynamic type value. Use with care, as it stores the class name in json.

### Constructors

#### <init> | `AnyValueWrapper(klass: KClass<*>, value: Any?)` `AnyValueWrapper(value: Any)` A jackson wrapper to store class name with dynamic type value. Use with care, as it stores the class name in json. `AnyValueWrapper(klass: String, value: Any?)`

### Properties

#### klass | `val klass: String`
#### value | `val value: Any?`