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 Details

    • JsonObjectSerializer

      @Inject public JsonObjectSerializer(com.google.inject.Provider<SpincastGsonManager> spincastGsonManagerProvider)
  • Method Details

    • getSpincastGsonManager

      protected SpincastGsonManager getSpincastGsonManager()
    • serialize

      public com.google.gson.JsonElement serialize(JsonObject jsonObject, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<JsonObject>