Interface ExtensionSelectorCodec

    • Method Detail

      • encode

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

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