Package com.smartcar.sdk.deserializer
Class AuthDeserializer
- java.lang.Object
-
- com.smartcar.sdk.deserializer.AuthDeserializer
-
-
Constructor Summary
Constructors Constructor Description AuthDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Auth
deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
Deserializes the OAuth auth endpoint JSON into a new Auth object.
-
-
-
Method Detail
-
deserialize
public Auth deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
Deserializes the OAuth auth endpoint JSON into a new Auth object.- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<Auth>
- Parameters:
json
- the Json data being deserializedtypeOfT
- the type of the Object to deserialize tocontext
- the deserialization context- Returns:
- the newly created Auth object
-
-