Uses of Interface
com.fasterxml.jackson.core.SerializableString
Packages that use SerializableString
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser
)
and generator
(JsonGenerator
)
instances.Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
Utility classes used by Jackson Core functionality.
-
Uses of SerializableString in com.fasterxml.jackson.core
Fields in com.fasterxml.jackson.core declared as SerializableStringModifier and TypeFieldDescriptionprotected SerializableString
JsonFactory._rootValueSeparator
Separator used between root-level values, if any; null indicates "do not add separator".protected SerializableString
JsonFactoryBuilder._rootValueSeparator
static final SerializableString
JsonFactory.DEFAULT_ROOT_VALUE_SEPARATOR
Methods in com.fasterxml.jackson.core that return SerializableStringModifier and TypeMethodDescriptionJsonpCharacterEscapes.getEscapeSequence
(int ch) JsonFactoryBuilder.rootValueSeparator()
Methods in com.fasterxml.jackson.core with parameters of type SerializableStringModifier and TypeMethodDescriptionboolean
JsonParser.nextFieldName
(SerializableString str) Method that fetches next token (as if callingJsonParser.nextToken()
) and verifies whether it isJsonToken.FIELD_NAME
with specified name and returns result of that comparison.JsonFactoryBuilder.rootValueSeparator
(SerializableString sep) Method that allows overriding String used for separating root-level JSON values (default is single space character)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 toJsonGenerator.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 toJsonGenerator.writeRawValue(String)
, but potentially more efficient as it may be able to use pre-encoded content (similar toJsonGenerator.writeRaw(SerializableString)
.abstract void
JsonGenerator.writeString
(SerializableString text) Method similar toJsonGenerator.writeString(String)
, but that takesSerializableString
which can make this potentially more efficient to call as generator may be able to reuse quoted and/or encoded representation. -
Uses of SerializableString in com.fasterxml.jackson.core.base
Methods in com.fasterxml.jackson.core.base with parameters of type SerializableStringModifier and TypeMethodDescriptionvoid
GeneratorBase.writeFieldName
(SerializableString name) void
GeneratorBase.writeRawValue
(SerializableString text) void
GeneratorBase.writeString
(SerializableString text) -
Uses of SerializableString in com.fasterxml.jackson.core.filter
Methods in com.fasterxml.jackson.core.filter with parameters of type SerializableStringModifier and TypeMethodDescriptionvoid
FilteringGeneratorDelegate.writeFieldName
(SerializableString name) void
FilteringGeneratorDelegate.writeRaw
(SerializableString text) void
FilteringGeneratorDelegate.writeString
(SerializableString value) -
Uses of SerializableString in com.fasterxml.jackson.core.io
Classes in com.fasterxml.jackson.core.io that implement SerializableStringModifier and TypeClassDescriptionclass
String token that can lazily serialize String contained and then reuse that serialization later on.Methods in com.fasterxml.jackson.core.io that return SerializableStringModifier and TypeMethodDescriptionabstract SerializableString
CharacterEscapes.getEscapeSequence
(int ch) Method generators can call to get lookup table for determining exact escape sequence to use for given character. -
Uses of SerializableString in com.fasterxml.jackson.core.json
Fields in com.fasterxml.jackson.core.json declared as SerializableStringModifier and TypeFieldDescriptionprotected SerializableString
WriterBasedJsonGenerator._currentEscape
When custom escapes are used, this member variable is used internally to hold a reference to currently used escapeprotected SerializableString
JsonGeneratorImpl._rootValueSeparator
Separator to use, if any, between root-level values.Methods in com.fasterxml.jackson.core.json with parameters of type SerializableStringModifier and TypeMethodDescriptionprotected final void
WriterBasedJsonGenerator._writeFieldName
(SerializableString name, boolean commaBefore) protected final void
UTF8JsonGenerator._writePPFieldName
(SerializableString name) protected final void
WriterBasedJsonGenerator._writePPFieldName
(SerializableString name, boolean commaBefore) boolean
ReaderBasedJsonParser.nextFieldName
(SerializableString sstr) boolean
UTF8StreamJsonParser.nextFieldName
(SerializableString str) JsonGeneratorImpl.setRootValueSeparator
(SerializableString sep) void
UTF8JsonGenerator.writeFieldName
(SerializableString name) void
WriterBasedJsonGenerator.writeFieldName
(SerializableString name) void
UTF8JsonGenerator.writeRaw
(SerializableString text) void
WriterBasedJsonGenerator.writeRaw
(SerializableString text) void
UTF8JsonGenerator.writeRawValue
(SerializableString text) final void
UTF8JsonGenerator.writeString
(SerializableString text) void
WriterBasedJsonGenerator.writeString
(SerializableString sstr) -
Uses of SerializableString in com.fasterxml.jackson.core.util
Fields in com.fasterxml.jackson.core.util declared as SerializableStringModifier and TypeFieldDescriptionprotected final SerializableString
DefaultPrettyPrinter._rootSeparator
String printed between root-level values, if any.Methods in com.fasterxml.jackson.core.util with parameters of type SerializableStringModifier and TypeMethodDescriptionJsonGeneratorDelegate.setRootValueSeparator
(SerializableString sep) DefaultPrettyPrinter.withRootSeparator
(SerializableString rootSeparator) void
JsonGeneratorDelegate.writeFieldName
(SerializableString name) void
JsonGeneratorDelegate.writeRaw
(SerializableString raw) void
JsonGeneratorDelegate.writeString
(SerializableString text) Constructors in com.fasterxml.jackson.core.util with parameters of type SerializableStringModifierConstructorDescriptionDefaultPrettyPrinter
(SerializableString rootSeparator) Constructor that specifies separator String to use between root values; if null, no separator is printed.DefaultPrettyPrinter
(DefaultPrettyPrinter base, SerializableString rootSeparator)