Class JsonObjectDeserializer

java.lang.Object
org.spincast.plugins.gson.serializers.JsonObjectDeserializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<JsonObject>

public class JsonObjectDeserializer extends Object implements com.google.gson.JsonDeserializer<JsonObject>
  • Constructor Details

    • JsonObjectDeserializer

      @Inject public JsonObjectDeserializer(JsonObjectFactory jsonObjectFactory)
  • Method Details

    • getJsonObjectFactory

      protected JsonObjectFactory getJsonObjectFactory()
    • deserialize

      public JsonObject deserialize(com.google.gson.JsonElement jsonElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<JsonObject>
      Throws:
      com.google.gson.JsonParseException