Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.deser.impl;
 
 
Object that knows how to serialize Object Ids.
public final class ObjectIdReader
    public final JavaType idType;
    public final String propertyName;
    
    
Blueprint generator instance: actual instance will be fetched from com.fasterxml.jackson.databind.SerializerProvider using this as the key.
    public final ObjectIdGenerator<?> generator;
    
    
Deserializer used for deserializing id values.
    public final JsonDeserializer<Objectdeserializer;
    public final SettableBeanProperty idProperty;
    
    /*
    /**********************************************************
    /* Life-cycle
    /**********************************************************
     */
    
    @SuppressWarnings("unchecked")
    protected ObjectIdReader(JavaType tString propNameObjectIdGenerator<?> gen,
            JsonDeserializer<?> deserSettableBeanProperty idProp)
    {
         = t;
         = propName;
         = gen;
         = (JsonDeserializer<Object>) deser;
         = idProp;
    }

    
Factory method called by com.fasterxml.jackson.databind.ser.std.BeanSerializerBase with the initial information based on standard settings for the type for which serializer is being built.
    public static ObjectIdReader construct(JavaType idTypeString propName,
            ObjectIdGenerator<?> generatorJsonDeserializer<?> deser,
            SettableBeanProperty idProp)
    {
        return new ObjectIdReader(idTypepropNamegeneratordeseridProp);
    }
New to GrepCode? Check out our FAQ X