static DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.builder() |
builder
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.indent(boolean indent) |
Feature that allows enabling (or disabling) indentation
for the underlying writer.
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.orderMapEntriesByKeys(boolean orderMapEntriesByKeys) |
Feature that determines whether Map entries are first
sorted by key before serialization or not: if enabled, additional sorting
step is performed if necessary (not necessary for SortedMaps),
if disabled, no additional sorting is needed.
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.serializeNulls(boolean serializeNulls) |
Sets whether object members are serialized when their value is null.
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.useEqualityForObjectId(boolean useEqualityForObjectId) |
Determines whether Object Identity is compared using
true JVM-level identity of Object (false); or, equals() method.
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.wrapExceptions(boolean wrapExceptions) |
Feature that determines whether gwt-jackson code should catch
and wrap RuntimeExceptions (but never Errors!)
to add additional information about
location (within input) of problem or not.
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.wrapRootValue(boolean wrapRootValue) |
Feature that can be enabled to make root value (usually JSON
Object but can be any type) wrapped within a single property
JSON object, where key as the "root name", as determined by
annotation introspector or fallback (non-qualified
class name).
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.writeCharArraysAsJsonArrays(boolean writeCharArraysAsJsonArrays) |
Feature that determines how type char[] is serialized:
when enabled, will be serialized as an explict JSON array (with
single-character Strings as values); when disabled, defaults to
serializing them as Strings (which is more compact).
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.writeDateKeysAsTimestamps(boolean writeDateKeysAsTimestamps) |
Feature that determines whether Dates and Timestamps used as Map keys are
serialized as timestamps or as textual values.
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.writeDatesAsTimestamps(boolean writeDatesAsTimestamps) |
Determines whether Date and Timestamp values are to be serialized as numeric timestamps
(true; the default), or as textual representation.
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.writeEmptyJsonArrays(boolean writeEmptyJsonArrays) |
Feature that determines whether Container properties (POJO properties
with declared value of Collection or array; i.e.
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.writeNullMapValues(boolean writeNullMapValues) |
Feature that determines whether Map entries with null values are
to be serialized (true) or not (false).
|
DefaultJsonSerializationContext.Builder |
DefaultJsonSerializationContext.Builder.writeSingleElemArraysUnwrapped(boolean writeSingleElemArraysUnwrapped) |
Feature added for interoperability, to work with oddities of
so-called "BadgerFish" convention.
|