Package dev.plex.util.adapter
Class ZonedDateTimeDeserializer
java.lang.Object
dev.plex.util.adapter.ZonedDateTimeDeserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ZonedDateTime>
public class ZonedDateTimeDeserializer
extends Object
implements com.google.gson.JsonDeserializer<ZonedDateTime>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
-
Field Details
-
TIMEZONE
-
-
Constructor Details
-
ZonedDateTimeDeserializer
public ZonedDateTimeDeserializer()
-
-
Method Details
-
deserialize
public ZonedDateTime deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<ZonedDateTime>
- Throws:
com.google.gson.JsonParseException
-