Class JsonArrayDeserializer
java.lang.Object
org.spincast.plugins.gson.serializers.JsonArrayDeserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<JsonArray>
-
Constructor Summary
ConstructorDescriptionJsonArrayDeserializer
(JsonObjectFactory jsonObjectFactory, com.google.inject.Provider<SpincastGsonManager> spincastGsonManagerProvider) -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement jsonElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) protected JsonObjectFactory
protected SpincastGsonManager
-
Constructor Details
-
JsonArrayDeserializer
@Inject public JsonArrayDeserializer(JsonObjectFactory jsonObjectFactory, com.google.inject.Provider<SpincastGsonManager> spincastGsonManagerProvider)
-
-
Method Details
-
getJsonObjectFactory
-
getSpincastGsonManager
-
deserialize
public JsonArray deserialize(com.google.gson.JsonElement jsonElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<JsonArray>
- Throws:
com.google.gson.JsonParseException
-