Class JsonArraytSerializer

java.lang.Object
org.spincast.plugins.gson.serializers.JsonArraytSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<JsonArray>

public class JsonArraytSerializer extends Object implements com.google.gson.JsonSerializer<JsonArray>
  • Constructor Details

    • JsonArraytSerializer

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

    • getSpincastGsonManager

      protected SpincastGsonManager getSpincastGsonManager()
    • serialize

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