Class JsonObjectSerializer
java.lang.Object
org.spincast.plugins.gson.serializers.JsonObjectSerializer
- All Implemented Interfaces:
com.google.gson.JsonSerializer<JsonObject>
public class JsonObjectSerializer
extends Object
implements com.google.gson.JsonSerializer<JsonObject>
-
Constructor Summary
ConstructorDescriptionJsonObjectSerializer
(com.google.inject.Provider<SpincastGsonManager> spincastGsonManagerProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected SpincastGsonManager
com.google.gson.JsonElement
serialize
(JsonObject jsonObject, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
Constructor Details
-
JsonObjectSerializer
@Inject public JsonObjectSerializer(com.google.inject.Provider<SpincastGsonManager> spincastGsonManagerProvider)
-
-
Method Details
-
getSpincastGsonManager
-
serialize
public com.google.gson.JsonElement serialize(JsonObject jsonObject, Type typeOfSrc, com.google.gson.JsonSerializationContext context) - Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<JsonObject>
-