com.fasterxml.jackson.databind

Class ObjectReader

  • All Implemented Interfaces:
    Versioned, Serializable


    public class ObjectReader
    extends ObjectCodec
    implements Versioned, Serializable
    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 "fluent" (or, kind of, 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, shared, cached; both because of thread-safety and because instances are relatively light-weight.

    See Also:
    Serialized Form

Copyright © 2014-2015 FasterXML. All Rights Reserved.