Class SchemaFactory


  • public class SchemaFactory
    extends java.lang.Object
    Schema Factory Class
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaFactory()
      Class Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String serialize​(java.lang.Object object)
      Serialize Object
      <T> T unserialize​(java.lang.String json, java.lang.Class<T> object)
      Unserialize JSON
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SchemaFactory

        public SchemaFactory()
        Class Constructor
    • Method Detail

      • serialize

        public java.lang.String serialize​(java.lang.Object object)
        Serialize Object
        Parameters:
        object - the object
        Returns:
        the serialized object
      • unserialize

        public <T> T unserialize​(java.lang.String json,
                                 java.lang.Class<T> object)
        Unserialize JSON
        Type Parameters:
        T - an object
        Parameters:
        json - the json value
        object - the object class
        Returns:
        the object