/** * Deserializes a JSON input into an object. * * @param reader {@link JsonReader} used to read the JSON input * @param ctx Context for the full deserialization process * @param params Parameters for this deserialization * @return the deserialized object * @throws com.github.nmorel.gwtjackson.client.exception.JsonDeserializationException if an error occurs during the deserialization */ public T deserialize( JsonReader reader, JsonDeserializationContext ctx, JsonDeserializerParameters params ) throws JsonDeserializationException { if ( JsonToken.NULL.equals( reader.peek() ) ) { return deserializeNullValue( reader, ctx, params ); } return doDeserialize( reader, ctx, params ); }