Interface ExtensionTreatmentCodec

    • Method Detail

      • encode

        default com.fasterxml.jackson.databind.node.ObjectNode encode​(ExtensionTreatment extensionTreatment,
                                                                      CodecContext context)
        Encodes an extension treatment to an JSON object.
        Parameters:
        extensionTreatment - extension treatment
        context - encoding context
        Returns:
        JSON object
      • decode

        default ExtensionTreatment decode​(com.fasterxml.jackson.databind.node.ObjectNode objectNode,
                                          CodecContext context)
        Decodes an JSON object to an extension treatment.
        Parameters:
        objectNode - JSON object
        context - decoding context
        Returns:
        extension treatment