@Deserializes(value={"application/json","json"}) public class GsonDeserialization extends java.lang.Object implements Deserializer
Constructor and Description |
---|
GsonDeserialization(ParameterNameProvider paramNameProvider,
java.util.Collection<com.google.gson.JsonDeserializer<?>> adapters) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
deserialize(java.io.InputStream inputStream,
ResourceMethod method) |
protected com.google.gson.Gson |
getGson() |
public GsonDeserialization(ParameterNameProvider paramNameProvider, java.util.Collection<com.google.gson.JsonDeserializer<?>> adapters)
public java.lang.Object[] deserialize(java.io.InputStream inputStream, ResourceMethod method)
deserialize
in interface Deserializer
protected com.google.gson.Gson getGson()
Copyright © 2013 Caelum. All Rights Reserved.