Package software.amazon.awssdk.iot
Class Timestamp.Deserializer
- java.lang.Object
-
- software.amazon.awssdk.iot.Timestamp.Deserializer
-
-
Constructor Summary
Constructors Constructor Description Deserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Timestamp
deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
Deserializes JSON to a Timestamp
-
-
-
Method Detail
-
deserialize
public Timestamp deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
Deserializes JSON to a Timestamp- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<Timestamp>
- Parameters:
json
- The JsonElement containing the TimestamptypeOfT
- The Type to usecontext
- The JsonDeserializationContext to use- Returns:
- A Timestamp containing the data in the JsonElement
- Throws:
com.google.gson.JsonParseException
-
-