Uses of Interface
com.fasterxml.jackson.core.SerializableString
-
Packages that use SerializableString Package Description com.fasterxml.jackson.core Main public API classes of the core streaming JSON processor: most importantlyJsonFactory
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. -
-
Uses of SerializableString in com.fasterxml.jackson.core
Fields in com.fasterxml.jackson.core declared as SerializableString Modifier and Type Field Description protected SerializableString
JsonFactory. _rootValueSeparator
Separator used between root-level values, if any; null indicates "do not add separator".protected SerializableString
JsonFactoryBuilder. _rootValueSeparator
static SerializableString
JsonFactory. DEFAULT_ROOT_VALUE_SEPARATOR
Methods in com.fasterxml.jackson.core that return SerializableString Modifier and Type Method Description SerializableString
JsonpCharacterEscapes. getEscapeSequence(int ch)
SerializableString
JsonFactoryBuilder. rootValueSeparator()
Methods in com.fasterxml.jackson.core with parameters of type SerializableString Modifier and Type Method Description boolean
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
JsonFactoryBuilder. rootValueSeparator(SerializableString sep)
Method that allows overriding String used for separating root-level JSON values (default is single space character)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 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 SerializableString Modifier and Type Method Description void
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 SerializableString Modifier and Type Method Description void
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 SerializableString Modifier and Type Class Description class
SerializedString
String token that can lazily serialize String contained and then reuse that serialization later on.Methods in com.fasterxml.jackson.core.io that return SerializableString Modifier and Type Method 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. -
Uses of SerializableString in com.fasterxml.jackson.core.json
Fields in com.fasterxml.jackson.core.json declared as SerializableString Modifier and Type Field Description protected 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 SerializableString Modifier and Type Method Description protected void
WriterBasedJsonGenerator. _writeFieldName(SerializableString name, boolean commaBefore)
protected void
UTF8JsonGenerator. _writePPFieldName(SerializableString name)
protected void
WriterBasedJsonGenerator. _writePPFieldName(SerializableString name, boolean commaBefore)
boolean
ReaderBasedJsonParser. nextFieldName(SerializableString sstr)
boolean
UTF8StreamJsonParser. nextFieldName(SerializableString str)
JsonGenerator
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)
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 SerializableString Modifier and Type Field Description protected SerializableString
DefaultPrettyPrinter. _rootSeparator
String printed between root-level values, if any.Methods in com.fasterxml.jackson.core.util with parameters of type SerializableString Modifier and Type Method 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)
Constructors in com.fasterxml.jackson.core.util with parameters of type SerializableString Constructor Description DefaultPrettyPrinter(SerializableString rootSeparator)
Constructor that specifies separator String to use between root values; if null, no separator is printed.DefaultPrettyPrinter(DefaultPrettyPrinter base, SerializableString rootSeparator)
-