Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonGenerator )
instances. |
com.fasterxml.jackson.core.base |
Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
|
com.fasterxml.jackson.core.filter | |
com.fasterxml.jackson.core.io | |
com.fasterxml.jackson.core.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
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. |
com.fasterxml.jackson.databind.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Field and Description |
---|---|
protected SerializableString |
JsonFactory._rootValueSeparator
Separator used between root-level values, if any; null indicates
"do not add separator".
|
Modifier and Type | Method and Description |
---|---|
SerializableString |
JsonpCharacterEscapes.getEscapeSequence(int ch) |
Modifier and Type | Method and Description |
---|---|
boolean |
JsonParser.nextFieldName(SerializableString str)
Method that fetches next token (as if calling
JsonParser.nextToken() ) and
verifies whether it is JsonToken.FIELD_NAME with specified name
and returns result of that comparison. |
JsonGenerator |
JsonGenerator.setRootValueSeparator(SerializableString sep)
Method that allows overriding String used for separating root-level
JSON values (default is single space character)
|
abstract void |
JsonGenerator.writeFieldName(SerializableString name)
Method similar to
JsonGenerator.writeFieldName(String) , main difference
being that it may perform better as some of processing (such as
quoting of certain characters, or encoding into external encoding
if supported by generator) can be done just once and reused for
later calls. |
void |
JsonGenerator.writeRaw(SerializableString raw)
Method that will force generator to copy
input text verbatim with no modifications (including
that no escaping is done and no separators are added even
if context [array, object] would otherwise require such).
|
void |
JsonGenerator.writeRawValue(SerializableString raw)
Method similar to
JsonGenerator.writeRawValue(String) , but potentially more
efficient as it may be able to use pre-encoded content (similar to
JsonGenerator.writeRaw(SerializableString) . |
abstract void |
JsonGenerator.writeString(SerializableString text)
Method similar to
JsonGenerator.writeString(String) , but that takes
SerializableString which can make this potentially
more efficient to call as generator may be able to reuse
quoted and/or encoded representation. |
Modifier and Type | Method and Description |
---|---|
void |
GeneratorBase.writeFieldName(SerializableString name) |
void |
GeneratorBase.writeRawValue(SerializableString text) |
void |
GeneratorBase.writeString(SerializableString text) |
Modifier and Type | Method and Description |
---|---|
void |
FilteringGeneratorDelegate.writeFieldName(SerializableString name) |
void |
FilteringGeneratorDelegate.writeRaw(SerializableString text) |
void |
FilteringGeneratorDelegate.writeString(SerializableString value) |
Modifier and Type | Class and Description |
---|---|
class |
SerializedString
String token that can lazily serialize String contained and then reuse that
serialization later on.
|
Modifier and Type | Method and Description |
---|---|
abstract SerializableString |
CharacterEscapes.getEscapeSequence(int ch)
Method generators can call to get lookup table for determining
exact escape sequence to use for given character.
|
Modifier and Type | Field and Description |
---|---|
protected SerializableString |
WriterBasedJsonGenerator._currentEscape
When custom escapes are used, this member variable is used
internally to hold a reference to currently used escape
|
protected SerializableString |
JsonGeneratorImpl._rootValueSeparator
Separator to use, if any, between root-level values.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WriterBasedJsonGenerator._writeFieldName(SerializableString name,
boolean commaBefore) |
protected void |
UTF8JsonGenerator._writePPFieldName(SerializableString name) |
protected void |
WriterBasedJsonGenerator._writePPFieldName(SerializableString name,
boolean commaBefore) |
boolean |
UTF8StreamJsonParser.nextFieldName(SerializableString str) |
boolean |
ReaderBasedJsonParser.nextFieldName(SerializableString sstr) |
JsonGenerator |
JsonGeneratorImpl.setRootValueSeparator(SerializableString sep) |
void |
WriterBasedJsonGenerator.writeFieldName(SerializableString name) |
void |
UTF8JsonGenerator.writeFieldName(SerializableString name) |
void |
WriterBasedJsonGenerator.writeRaw(SerializableString text) |
void |
UTF8JsonGenerator.writeRaw(SerializableString text) |
void |
UTF8JsonGenerator.writeRawValue(SerializableString text) |
void |
WriterBasedJsonGenerator.writeString(SerializableString sstr) |
void |
UTF8JsonGenerator.writeString(SerializableString text) |
Modifier and Type | Field and Description |
---|---|
protected SerializableString |
DefaultPrettyPrinter._rootSeparator
String printed between root-level values, if any.
|
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
JsonGeneratorDelegate.setRootValueSeparator(SerializableString sep) |
DefaultPrettyPrinter |
DefaultPrettyPrinter.withRootSeparator(SerializableString rootSeparator) |
void |
JsonGeneratorDelegate.writeFieldName(SerializableString name) |
void |
JsonGeneratorDelegate.writeRaw(SerializableString raw) |
void |
JsonGeneratorDelegate.writeString(SerializableString text) |
Constructor and Description |
---|
DefaultPrettyPrinter(DefaultPrettyPrinter base,
SerializableString rootSeparator) |
DefaultPrettyPrinter(SerializableString rootSeparator)
Constructor that specifies separator String to use between root values;
if null, no separator is printed.
|
Modifier and Type | Field and Description |
---|---|
protected SerializableString |
PropertyName._encodedSimple
Lazily-constructed efficient representation of the simple name.
|
SerializableString |
ObjectWriter.GeneratorSettings.rootValueSeparator
Caller may want to override so-called "root value separator",
String added (verbatim, with no quoting or escaping) between
values in root context.
|
Modifier and Type | Method and Description |
---|---|
SerializableString |
PropertyName.simpleAsEncoded(MapperConfig<?> config)
Accessor that may be used to get lazily-constructed efficient
representation of the simple name.
|
Modifier and Type | Method and Description |
---|---|
ObjectWriter |
ObjectWriter.withRootValueSeparator(SerializableString sep) |
ObjectWriter.GeneratorSettings |
ObjectWriter.GeneratorSettings.withRootValueSeparator(SerializableString sep) |
Constructor and Description |
---|
GeneratorSettings(PrettyPrinter pp,
FormatSchema sch,
CharacterEscapes esc,
SerializableString rootSep) |
Modifier and Type | Method and Description |
---|---|
SerializableString |
MapperConfig.compileString(String src)
Method for constructing a specialized textual object that can typically
be serialized faster than basic
String (depending
on escaping needed if any, char-to-byte encoding if needed). |
Modifier and Type | Method and Description |
---|---|
SerializableString |
BeanPropertyWriter.getSerializedName() |
Modifier and Type | Field and Description |
---|---|
SerializableString |
ObjectIdWriter.propertyName
Name of id property to write, if not null: if null, should
only write references, but id property is handled by some
other entity.
|
Constructor and Description |
---|
ObjectIdWriter(JavaType t,
SerializableString propName,
ObjectIdGenerator<?> gen,
JsonSerializer<?> ser,
boolean alwaysAsId) |
Modifier and Type | Method and Description |
---|---|
SerializableString |
EnumValues.serializedValueFor(Enum<?> key) |
Modifier and Type | Method and Description |
---|---|
EnumMap<?,SerializableString> |
EnumValues.internalMap()
Method used for serialization and introspection by core Jackson code.
|
Collection<SerializableString> |
EnumValues.values() |
Modifier and Type | Method and Description |
---|---|
void |
TokenBuffer.writeFieldName(SerializableString name) |
void |
TokenBuffer.writeRaw(SerializableString text) |
void |
TokenBuffer.writeString(SerializableString text) |
Constructor and Description |
---|
RawValue(SerializableString v) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.