Package-level declarations

Types

Link copied to clipboard
object AggregateIdJsonDeserializer : StdDeserializer<AggregateId>

Jackson JSON deserializer for AggregateId objects.

Link copied to clipboard
object AggregateIdJsonSerializer : StdSerializer<AggregateId>

Jackson JSON serializer for AggregateId objects.

Link copied to clipboard
class DelegatingMessageRecord(val actual: ObjectNode) : MessageRecord
Link copied to clipboard
Link copied to clipboard
interface JsonRecord
Link copied to clipboard
object JsonSerializer : ObjectMapper

Pre-configured Jackson ObjectMapper for the Wow framework.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class MessageSerializer<M : Message<*, *>>(messageType: Class<M>) : StdSerializer<M>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class WowModule : SimpleModule

Functions

Link copied to clipboard
fun <T : Any> T.deepCody(objectType: Class<T> = this.javaClass): T

Creates a deep copy of this object by serializing to JSON and deserializing back.

Link copied to clipboard
fun <T : JsonNode> Any.toJsonNode(): T

Converts this object to a JsonNode representation.

fun <T : JsonNode> String.toJsonNode(): T

Parses this JSON string into a JsonNode representation.

Link copied to clipboard

Converts this object to its JSON string representation.

Link copied to clipboard
fun ObjectNode.toMessageRecord(): MessageRecord
Link copied to clipboard
inline fun <T> JsonNode.toObject(): T

Converts this JsonNode into an object using reified generics.

inline fun <T> String.toObject(): T

Deserializes this JSON string into an object using reified generics.

fun <T> JsonNode.toObject(objectType: Class<T>): T

Converts this JsonNode into an object of the specified Class.

fun <T> String.toObject(objectType: JavaType): T

Deserializes this JSON string into an object of the specified JavaType.

fun <T> String.toObject(objectType: Class<T>): T

Deserializes this JSON string into an object of the specified Class.

Link copied to clipboard
fun String.toObjectNode(): ObjectNode

Parses this JSON string into an ObjectNode.

Link copied to clipboard

Converts this object to a pretty-printed JSON string representation.