| Package | Description | 
|---|---|
| com.fasterxml.jackson.databind | 
 Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees ( 
JsonNode), as well as
writing Java Objects and trees as JSON. | 
| Modifier and Type | Method and Description | 
|---|---|
protected ObjectWriter | 
ObjectWriter._new(ObjectWriter.GeneratorSettings genSettings,
    ObjectWriter.Prefetch prefetch)
Overridable factory method called by various "withXxx()" methods. 
 | 
protected ObjectWriter | 
ObjectWriter._new(ObjectWriter base,
    JsonFactory f)
Overridable factory method called by various "withXxx()" methods 
 | 
protected ObjectWriter | 
ObjectWriter._new(ObjectWriter base,
    SerializationConfig config)
Overridable factory method called by various "withXxx()" methods 
 | 
protected ObjectWriter | 
ObjectMapper._newWriter(SerializationConfig config)
Factory method sub-classes must override, to produce  
ObjectWriter
 instances of proper sub-type | 
protected ObjectWriter | 
ObjectMapper._newWriter(SerializationConfig config,
          FormatSchema schema)
Factory method sub-classes must override, to produce  
ObjectWriter
 instances of proper sub-type | 
protected ObjectWriter | 
ObjectMapper._newWriter(SerializationConfig config,
          JavaType rootType,
          PrettyPrinter pp)
Factory method sub-classes must override, to produce  
ObjectWriter
 instances of proper sub-type | 
ObjectWriter | 
ObjectWriter.forType(Class<?> rootType)
Method that will construct a new instance that uses specific type
 as the root type for serialization, instead of runtime dynamic
 type of the root object itself. 
 | 
ObjectWriter | 
ObjectWriter.forType(JavaType rootType)
Method that will construct a new instance that uses specific type
 as the root type for serialization, instead of runtime dynamic
 type of the root object itself. 
 | 
ObjectWriter | 
ObjectWriter.forType(TypeReference<?> rootType)
Method that will construct a new instance that uses specific type
 as the root type for serialization, instead of runtime dynamic
 type of the root object itself. 
 | 
ObjectWriter | 
ObjectWriter.with(Base64Variant b64variant)
Method that will construct a new instance that uses specified default
  
Base64Variant for base64 encoding | 
ObjectWriter | 
ObjectWriter.with(CharacterEscapes escapes)  | 
ObjectWriter | 
ObjectWriter.with(ContextAttributes attrs)  | 
ObjectWriter | 
ObjectWriter.with(DateFormat df)
Fluent factory method that will construct a new writer instance that will
 use specified date format for serializing dates; or if null passed, one
 that will serialize dates as numeric timestamps. 
 | 
ObjectWriter | 
ObjectWriter.with(FilterProvider filterProvider)
Method that will construct a new instance that uses specified
 provider for resolving filter instances by id. 
 | 
ObjectWriter | 
ObjectWriter.with(FormatFeature feature)  | 
ObjectWriter | 
ObjectWriter.with(FormatSchema schema)
Method that will construct a new instance that uses specific format schema
 for serialization. 
 | 
ObjectWriter | 
ObjectWriter.with(JsonFactory f)  | 
ObjectWriter | 
ObjectWriter.with(JsonGenerator.Feature feature)  | 
ObjectWriter | 
ObjectWriter.with(Locale l)  | 
ObjectWriter | 
ObjectWriter.with(PrettyPrinter pp)
Method that will construct a new instance that will use specified pretty
 printer (or, if null, will not do any pretty-printing) 
 | 
ObjectWriter | 
ObjectWriter.with(SerializationFeature feature)
Method for constructing a new instance that is configured
 with specified feature enabled. 
 | 
ObjectWriter | 
ObjectWriter.with(SerializationFeature first,
    SerializationFeature... other)
Method for constructing a new instance that is configured
 with specified features enabled. 
 | 
ObjectWriter | 
ObjectWriter.with(StreamWriteFeature feature)  | 
ObjectWriter | 
ObjectWriter.with(TimeZone tz)  | 
ObjectWriter | 
ObjectWriter.withAttribute(Object key,
             Object value)  | 
ObjectWriter | 
ObjectWriter.withAttributes(Map<?,?> attrs)
Mutant factory method that allows construction of a new writer instance
 that uses specified set of default attribute values. 
 | 
ObjectWriter | 
ObjectWriter.withDefaultPrettyPrinter()
Method that will construct a new instance that will use the default
 pretty printer for serialization. 
 | 
ObjectWriter | 
ObjectWriter.withFeatures(FormatFeature... features)  | 
ObjectWriter | 
ObjectWriter.withFeatures(JsonGenerator.Feature... features)  | 
ObjectWriter | 
ObjectWriter.withFeatures(SerializationFeature... features)
Method for constructing a new instance that is configured
 with specified features enabled. 
 | 
ObjectWriter | 
ObjectWriter.without(FormatFeature feature)  | 
ObjectWriter | 
ObjectWriter.without(JsonGenerator.Feature feature)  | 
ObjectWriter | 
ObjectWriter.without(SerializationFeature feature)
Method for constructing a new instance that is configured
 with specified feature enabled. 
 | 
ObjectWriter | 
ObjectWriter.without(SerializationFeature first,
       SerializationFeature... other)
Method for constructing a new instance that is configured
 with specified features enabled. 
 | 
ObjectWriter | 
ObjectWriter.without(StreamWriteFeature feature)  | 
ObjectWriter | 
ObjectWriter.withoutAttribute(Object key)  | 
ObjectWriter | 
ObjectWriter.withoutFeatures(FormatFeature... features)  | 
ObjectWriter | 
ObjectWriter.withoutFeatures(JsonGenerator.Feature... features)  | 
ObjectWriter | 
ObjectWriter.withoutFeatures(SerializationFeature... features)
Method for constructing a new instance that is configured
 with specified features enabled. 
 | 
ObjectWriter | 
ObjectWriter.withoutRootName()
Convenience method that is same as calling:
 
   withRootName("")
 which will forcibly prevent use of root name wrapping when writing
 values with this ObjectWriter. | 
ObjectWriter | 
ObjectWriter.withRootName(PropertyName rootName)  | 
ObjectWriter | 
ObjectWriter.withRootName(String rootName)
Method for constructing a new instance with configuration that
 specifies what root name to use for "root element wrapping". 
 | 
ObjectWriter | 
ObjectWriter.withRootValueSeparator(SerializableString sep)  | 
ObjectWriter | 
ObjectWriter.withRootValueSeparator(String sep)  | 
ObjectWriter | 
ObjectWriter.withSchema(FormatSchema schema)
Deprecated. 
 
Since 2.5 use  
with(FormatSchema) instead | 
ObjectWriter | 
ObjectWriter.withType(Class<?> rootType)
Deprecated. 
 
since 2.5 Use  
forType(Class) instead | 
ObjectWriter | 
ObjectWriter.withType(JavaType rootType)
Deprecated. 
 
since 2.5 Use  
forType(JavaType) instead | 
ObjectWriter | 
ObjectWriter.withType(TypeReference<?> rootType)
Deprecated. 
 
since 2.5 Use  
forType(TypeReference) instead | 
ObjectWriter | 
ObjectWriter.withView(Class<?> view)
Method that will construct a new instance that uses specified
 serialization view for serialization (with null basically disables
 view processing) 
 | 
ObjectWriter | 
ObjectMapper.writer()
Convenience method for constructing  
ObjectWriter
 with default settings. | 
ObjectWriter | 
ObjectMapper.writer(Base64Variant defaultBase64)
Factory method for constructing  
ObjectWriter that will
 use specified Base64 encoding variant for Base64-encoded binary data. | 
ObjectWriter | 
ObjectMapper.writer(CharacterEscapes escapes)
Factory method for constructing  
ObjectReader that will
 use specified character escaping details for output. | 
ObjectWriter | 
ObjectMapper.writer(ContextAttributes attrs)
Factory method for constructing  
ObjectWriter that will
 use specified default attributes. | 
ObjectWriter | 
ObjectMapper.writer(DateFormat df)
Factory method for constructing  
ObjectWriter that will
 serialize objects using specified DateFormat; or, if
 null passed, using timestamp (64-bit number. | 
ObjectWriter | 
ObjectMapper.writer(FilterProvider filterProvider)
Factory method for constructing  
ObjectWriter that will
 serialize objects using specified filter provider. | 
ObjectWriter | 
ObjectMapper.writer(FormatSchema schema)
Factory method for constructing  
ObjectWriter that will
 pass specific schema object to JsonGenerator used for
 writing content. | 
ObjectWriter | 
ObjectMapper.writer(PrettyPrinter pp)
Factory method for constructing  
ObjectWriter that will
 serialize objects using specified pretty printer for indentation
 (or if null, no pretty printer) | 
ObjectWriter | 
ObjectMapper.writer(SerializationFeature feature)
Factory method for constructing  
ObjectWriter with
 specified feature enabled (compared to settings that this
 mapper instance has). | 
ObjectWriter | 
ObjectMapper.writer(SerializationFeature first,
      SerializationFeature... other)
Factory method for constructing  
ObjectWriter with
 specified features enabled (compared to settings that this
 mapper instance has). | 
ObjectWriter | 
ObjectMapper.writerFor(Class<?> rootType)
Factory method for constructing  
ObjectWriter that will
 serialize objects using specified root type, instead of actual
 runtime type of value. | 
ObjectWriter | 
ObjectMapper.writerFor(JavaType rootType)
Factory method for constructing  
ObjectWriter that will
 serialize objects using specified root type, instead of actual
 runtime type of value. | 
ObjectWriter | 
ObjectMapper.writerFor(TypeReference<?> rootType)
Factory method for constructing  
ObjectWriter that will
 serialize objects using specified root type, instead of actual
 runtime type of value. | 
ObjectWriter | 
ObjectMapper.writerWithDefaultPrettyPrinter()
Factory method for constructing  
ObjectWriter that will
 serialize objects using the default pretty printer for indentation | 
ObjectWriter | 
ObjectMapper.writerWithType(Class<?> rootType)
Deprecated. 
 
Since 2.5, use  
ObjectMapper.writerFor(Class) instead | 
ObjectWriter | 
ObjectMapper.writerWithType(JavaType rootType)
Deprecated. 
 
Since 2.5, use  
ObjectMapper.writerFor(JavaType) instead | 
ObjectWriter | 
ObjectMapper.writerWithType(TypeReference<?> rootType)
Deprecated. 
 
Since 2.5, use  
ObjectMapper.writerFor(TypeReference) instead | 
ObjectWriter | 
ObjectMapper.writerWithView(Class<?> serializationView)
Factory method for constructing  
ObjectWriter that will
 serialize objects using specified JSON View (filter). | 
| Modifier and Type | Method and Description | 
|---|---|
protected ObjectWriter | 
ObjectWriter._new(ObjectWriter base,
    JsonFactory f)
Overridable factory method called by various "withXxx()" methods 
 | 
protected ObjectWriter | 
ObjectWriter._new(ObjectWriter base,
    SerializationConfig config)
Overridable factory method called by various "withXxx()" methods 
 | 
ObjectWriter.Prefetch | 
ObjectWriter.Prefetch.forRootType(ObjectWriter parent,
           JavaType newType)  | 
| Constructor and Description | 
|---|
ObjectWriter(ObjectWriter base,
            JsonFactory f)  | 
ObjectWriter(ObjectWriter base,
            SerializationConfig config)
Copy constructor used for building variations. 
 | 
ObjectWriter(ObjectWriter base,
            SerializationConfig config,
            ObjectWriter.GeneratorSettings genSettings,
            ObjectWriter.Prefetch prefetch)
Copy constructor used for building variations. 
 | 
Copyright © 2008–2020 FasterXML. All rights reserved.