Packages

 

com.groupdocs.signature.domain.extensions.serialization

Interface IDataSerializer



  • public interface IDataSerializer

    Serialization interface to provide object serialization and deserialization methods.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      <T> T deserialize(String source, Class<T> type)
      Deserialize method to obtain required object from string.
      String serialize(Object data)
      Serialize method to format object to string representing.
    • Method Detail

      • deserialize

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

        Deserialize method to obtain required object from string.

        Parameters:
        source - Source serialized string that contains object

        T: Type of return object

        Returns:
      • serialize

        String serialize(Object data)

        Serialize method to format object to string representing.

        Parameters:
        data - Source object to serialize
        Returns: