Class DiffTypeDeserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<Diff>

    public class DiffTypeDeserializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<Diff>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Diff deserialize​(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)  
      • Methods inherited from class java.lang.Object

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

      • DiffTypeDeserializer

        public DiffTypeDeserializer()
    • Method Detail

      • deserialize

        public Diff deserialize​(com.google.gson.JsonElement json,
                                java.lang.reflect.Type typeOfT,
                                com.google.gson.JsonDeserializationContext context)
                         throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<Diff>
        Throws:
        com.google.gson.JsonParseException