com.groupdocs.signature.domain.extensions.serialization

Interface IDataSerializer



  • public interface IDataSerializer

    Serialization interface to provide object serialization and deserialization methods.

    • Method Detail

      • deserialize

        <T> T deserialize(String source,
                          Class<T> type)
                   throws Exception

        Deserialize method to obtain required object from string.

        Parameters:
        source - Source serialized string that contains object

        T: Type of return object

        Returns:
        Throws:
        Exception
      • serialize

        String serialize(Object data)

        Serialize method to format object to string representing.

        Parameters:
        data - Source object to serialize
        Returns: