Class LocalDateTimeDeserializer
java.lang.Object
io.goodforgod.gson.configuration.deserializer.LocalDateTimeDeserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<LocalDateTime>
public class LocalDateTimeDeserializer
extends Object
implements com.google.gson.JsonDeserializer<LocalDateTime>
- Since:
- 25.04.2021
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LocalDateTimeDeserializer
public LocalDateTimeDeserializer() -
LocalDateTimeDeserializer
-
-
Method Details
-
deserialize
public LocalDateTime deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<LocalDateTime>- Throws:
com.google.gson.JsonParseException
-