Interface JsonDeserializer

  • All Implemented Interfaces:

    
    public interface JsonDeserializer<T>
    
                        

    An interface to a custom deserializer of objects of the specified type T from Json.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract T deserialize(@NotNull() JsonNodeReader jsonRoot) Method called when an object of type T should be deserialized.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • deserialize

         abstract T deserialize(@NotNull() JsonNodeReader jsonRoot)

        Method called when an object of type T should be deserialized.

        Parameters:
        jsonRoot - The Json object to deserialize.