Class ObjectReader

  • All Implemented Interfaces:
    Versioned

    public class ObjectReader
    extends ObjectCodec
    implements Versioned
    Builder object that can be used for per-serialization configuration of deserialization parameters, such as root type to use or object to update (instead of constructing new instance). Uses "fluid" (aka builder) pattern so that instances are immutable (and thus fully thread-safe with no external synchronization); new instances are constructed for different configurations. Instances are initially constructed by ObjectMapper and can be reused.
    Since:
    1.6
    Author:
    tatu