Package com.dnsimple.http
Class OffsetDateTimeDeserializer
- java.lang.Object
-
- com.dnsimple.http.OffsetDateTimeDeserializer
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<java.time.OffsetDateTime>
public class OffsetDateTimeDeserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<java.time.OffsetDateTime>
-
-
Constructor Summary
Constructors Constructor Description OffsetDateTimeDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.OffsetDateTimedeserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
-
-
-
Method Detail
-
deserialize
public java.time.OffsetDateTime deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException- Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<java.time.OffsetDateTime>- Throws:
com.google.gson.JsonParseException
-
-