Class AerisDataJSON.PeriodDeserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer
    Enclosing class:
    AerisDataJSON

    public static class AerisDataJSON.PeriodDeserializer
    extends Object
    implements com.google.gson.JsonDeserializer
    • Constructor Detail

      • PeriodDeserializer

        public PeriodDeserializer()
    • Method Detail

      • deserialize

        public Period deserialize​(com.google.gson.JsonElement json,
                                  Type typeOfT,
                                  com.google.gson.JsonDeserializationContext context)
                           throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer
        Throws:
        com.google.gson.JsonParseException