Class ObjectWriter

  • All Implemented Interfaces:
    Versioned

    public class ObjectWriter
    extends Object
    implements Versioned
    Builder object that can be used for per-serialization configuration of serialization parameters, such as JSON View and root type to use. (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 in completely thread-safe manner with no explicit synchronization
    Since:
    1.5
    Author:
    tatu