replication-json / io.floodplain.replication.impl.json / ReplicationJSON

ReplicationJSON

open class ReplicationJSON

Constructors

<init>

ReplicationJSON()

Properties

clocktimeFormatter

static val clocktimeFormatter: DateTimeFormatter!

dateFormatter

static val dateFormatter: DateTimeFormatter!

dateTimeFormatter

static val dateTimeFormatter: DateTimeFormatter!

objectMapper

static val objectMapper: ObjectMapper!

Functions

immutableTotalToJSON

open static fun immutableTotalToJSON(msg: ImmutableMessage!): ByteArray!

jsonDescriber

open static fun jsonDescriber(msg: ReplicationMessage!): String!

jsonSerializer

open static fun jsonSerializer(msg: ReplicationMessage!, includeNullValues: Boolean): ByteArray!
open static fun jsonSerializer(msg: ReplicationMessage!, includeNullValues: Boolean, dumpKey: Boolean): ByteArray!

parseImmutable

open static fun parseImmutable(data: ByteArray!): ImmutableMessage!

parseJSON

open static fun parseJSON(source: Optional<String!>!, node: ObjectNode!): ReplicationMessage!

parseReplicationMessage

open static fun parseReplicationMessage(data: ByteArray!, source: Optional<String!>!): ReplicationMessage!

replicationToConnectJSON

open static fun replicationToConnectJSON(msg: ReplicationMessage!): ByteArray!

replicationToJSON

open static fun replicationToJSON(msg: ReplicationMessage!): ObjectNode!

resolveValue

open static fun resolveValue(type: ValueType!, jsonNode: JsonNode!): Any!

toJSON

open static fun toJSON(instance: ReplicationMessage!, includeNullValues: Boolean): ObjectNode!