Class SpecificJsonSerdes<T>

    • Constructor Detail

    • Method Detail

      • contentType

        public String contentType()
        Get the content-type attached to this Serdes.
        Specified by:
        contentType in interface Serdes<T>
        Returns:
        a string representing the content-type.
      • deserialize

        public T deserialize​(byte[] data)
                      throws SerializationException
        Deserialize data from a byte array into a value or object.
        Specified by:
        deserialize in interface Serdes<T>
        Parameters:
        data - the data byte array to deserialize; may be null.
        Returns:
        the deserialized typed data; may be null
        Throws:
        SerializationException