Class DictItem.DictItemValAdapter

java.lang.Object
com.influxdb.client.domain.DictItem.DictItemValAdapter
All Implemented Interfaces:
com.google.gson.JsonDeserializer<Object>, com.google.gson.JsonSerializer<Object>
Enclosing class:
DictItem

public static class DictItem.DictItemValAdapter extends Object implements com.google.gson.JsonDeserializer<Object>, com.google.gson.JsonSerializer<Object>
  • Constructor Details

    • DictItemValAdapter

      public DictItemValAdapter()
  • Method Details

    • deserialize

      public Object 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<Object>
      Throws:
      com.google.gson.JsonParseException
    • serialize

      public com.google.gson.JsonElement serialize(Object object, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<Object>