public interface ExtensionTreatmentCodec extends HandlerBehaviour
Modifier and Type | Method and Description |
---|---|
default ExtensionTreatment |
decode(com.fasterxml.jackson.databind.node.ObjectNode objectNode,
CodecContext context)
Decodes an JSON object to an extension treatment.
|
default com.fasterxml.jackson.databind.node.ObjectNode |
encode(ExtensionTreatment extensionTreatment,
CodecContext context)
Encodes an extension treatment to an JSON object.
|
handler, setHandler
default com.fasterxml.jackson.databind.node.ObjectNode encode(ExtensionTreatment extensionTreatment, CodecContext context)
extensionTreatment
- extension treatmentcontext
- encoding contextdefault ExtensionTreatment decode(com.fasterxml.jackson.databind.node.ObjectNode objectNode, CodecContext context)
objectNode
- JSON objectcontext
- decoding context