Interface Serializer

    • Method Detail

      • encode

        String encode​(Object obj)
        Encode an object into a string.
        Parameters:
        obj - the object to encode
        Returns:
        the encoded string
      • decode

        Object decode​(String encoded)
        Decode a string into an object.
        Parameters:
        encoded - the encoded string
        Returns:
        the decoded object