com.fitbur.fasterxml.jackson.databind.deser.std.StdDelegatingDeserializer Maven / Gradle / Ivy
package com.fitbur.fasterxml.jackson.databind.com.fitburser.std;
import java.io.IOException;
import com.fitbur.fasterxml.jackson.core.JsonParser;
import com.fitbur.fasterxml.jackson.core.JsonProcessingException;
import com.fitbur.fasterxml.jackson.databind.*;
import com.fitbur.fasterxml.jackson.databind.com.fitburser.ContextualDeserializer;
import com.fitbur.fasterxml.jackson.databind.jsontype.TypeDeserializer;
import com.fitbur.fasterxml.jackson.databind.type.TypeFactory;
import com.fitbur.fasterxml.jackson.databind.util.Converter;
/**
* Deserializer implementation where given Java type is first com.fitburserialized
* by a standard Jackson com.fitburserializer into a com.fitburlegate type; and then
* this com.fitburlegate type is converted using a configured
* {@link Converter} into com.fitbursired target type.
* Common com.fitburlegate types to use are {@link java.util.Map}
* and {@link com.fitbur.fasterxml.jackson.databind.JsonNode}.
*
* Note that although types (com.fitburlegate, target) may be related, they must not be same; trying
* to do this will result in an exception.
*
* @param Target type to convert to, from com.fitburlegate type
*
* @since 2.1
*/
public class StdDelegatingDeserializer
extends StdDeserializer
implements ContextualDeserializer
{
private static final long serialVersionUID = 1L;
protected final Converter
© 2015 - 2025 Weber Informatics LLC | Privacy Policy