AggregateIdJsonDeserializer
Jackson JSON deserializer for AggregateId objects.
This deserializer converts a JSON object back into an AggregateId instance, extracting the context name, aggregate name, aggregate ID, and tenant ID from predefined field names in MessageRecords.
Example usage:
val json = """{"contextName":"context","aggregateName":"aggregate","aggregateId":"id","tenantId":"tenant"}"""
val aggregateId = ObjectMapper().readValue<AggregateId>(json)Content copied to clipboard
Properties
Functions
Link copied to clipboard
open fun deserialize(p: JsonParser?, ctxt: DeserializationContext?, intoValue: AggregateId?): AggregateId?
Deserializes JSON into an AggregateId instance.
Link copied to clipboard
open fun deserializeWithType(p: JsonParser?, ctxt: DeserializationContext?, typeDeserializer: TypeDeserializer?): Any?
open fun deserializeWithType(p: JsonParser?, ctxt: DeserializationContext?, typeDeserializer: TypeDeserializer?, intoValue: AggregateId?): Any?
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