java.lang.Object
tools.jackson.core.JsonGenerator
tools.jackson.databind.util.TokenBuffer
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
,tools.jackson.core.Versioned
public class TokenBuffer
extends tools.jackson.core.JsonGenerator
Utility class used for efficient storage of
JsonToken
sequences, needed for temporary buffering.
Space efficient for different sequence lengths (especially so for smaller
ones; but not significantly less efficient for larger), highly efficient
for linear iteration and appending. Implemented as segmented/chunked
linked list of tokens; only modifications are via appends.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final class
protected static final class
Individual segment of TokenBuffer that can store up to 16 tokens (limited by 4 bits per token type marker requirement). -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
Offset within last segment,protected boolean
protected TokenBuffer.Segment
First segment, for contents this buffer hasprotected boolean
Flag set during construction, if use ofBigDecimal
is to be forced on all floating-point values.protected boolean
Do we currently have a native type or object id buffered?protected boolean
protected boolean
protected TokenBuffer.Segment
Last segment of this buffer, one that is used for appending more tokensprotected boolean
protected Object
If native object ids supported, this is the id for following value (or first token of one) to be written.protected tools.jackson.core.ObjectWriteContext
protected tools.jackson.core.TokenStreamContext
Parse context from "parent" parser (one from which content to buffer is read, if specified).protected final tools.jackson.core.StreamReadConstraints
protected int
Bit flag composed of bits that indicate whichStreamWriteFeature
s are enabled.protected tools.jackson.core.util.SimpleStreamWriteContext
protected Object
If native type ids supported, this is the id for following value (or first token of one) to be written.protected static final tools.jackson.core.util.JacksonFeatureSet<tools.jackson.core.StreamWriteCapability>
protected static final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionTokenBuffer
(boolean hasNativeIds) Deprecated.protected
TokenBuffer
(tools.jackson.core.JsonParser p, tools.jackson.core.ObjectReadContext ctxt) TokenBuffer
(tools.jackson.core.ObjectWriteContext writeContext, boolean hasNativeIds) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
_appendEndMarker
(tools.jackson.core.JsonToken type) Specialized method used for appending a structural end Object/Array markerprotected final void
_appendName
(Object value) protected final void
_appendStartMarker
(tools.jackson.core.JsonToken type) Specialized method used for appending a structural start Object/Array markerprotected final void
_appendValue
(tools.jackson.core.JsonToken type) Method used for appending token known to represent a "simple" scalar value where token is the only informationprotected final void
_appendValue
(tools.jackson.core.JsonToken type, Object value) Method used for appending token known to represent a scalar value where there is additional content (text, number) beyond type tokenprotected void
_copyBufferContents
(tools.jackson.core.JsonParser p) protected <T> T
append
(TokenBuffer other) Helper method that will append contents of given buffer into this buffer.tools.jackson.core.JsonParser
asParser()
Method used to create aJsonParser
that can read contents stored in this buffer.tools.jackson.core.JsonParser
asParser
(tools.jackson.core.ObjectReadContext readCtxt) Method used to create aJsonParser
that can read contents stored in this buffer.tools.jackson.core.JsonParser
asParser
(tools.jackson.core.ObjectReadContext readCtxt, tools.jackson.core.JsonParser p0) tools.jackson.core.JsonParser
asParserOnFirstToken
(tools.jackson.core.ObjectReadContext readCtxt) Same as:tools.jackson.core.JsonParser
asParserOnFirstToken
(tools.jackson.core.ObjectReadContext readCtxt, tools.jackson.core.JsonParser src) void
boolean
boolean
void
close()
tools.jackson.core.JsonGenerator
configure
(tools.jackson.core.StreamWriteFeature f, boolean state) void
copyCurrentEvent
(tools.jackson.core.JsonParser p) void
copyCurrentStructure
(tools.jackson.core.JsonParser p) deserialize
(tools.jackson.core.JsonParser p, DeserializationContext ctxt) Helper method used by standard deserializer.tools.jackson.core.JsonToken
void
flush()
static TokenBuffer
forBuffering
(tools.jackson.core.JsonParser p, tools.jackson.core.ObjectReadContext ctxt) Specialized factory method used when we are specifically buffering contents of a token stream for further processing.forceUseOfBigDecimal
(boolean b) static TokenBuffer
Specialized factory method used when we are generating token stream for further processing without tokens coming from specific input token stream.boolean
isClosed()
boolean
isEmpty()
Accessor for checking whether this buffer has one or more tokens or not.boolean
isEnabled
(tools.jackson.core.StreamWriteFeature f) tools.jackson.core.ObjectWriteContext
overrideParentContext
(tools.jackson.core.TokenStreamContext ctxt) Method that allows explicitly specifying parent parse context to associate with contents of this buffer.void
serialize
(tools.jackson.core.JsonGenerator gen) Helper method that will write all contents of this buffer using givenJsonGenerator
.tools.jackson.core.util.JacksonFeatureSet<tools.jackson.core.StreamWriteCapability>
tools.jackson.core.TokenStreamContext
int
int
toString()
tools.jackson.core.Version
version()
tools.jackson.core.JsonGenerator
writeBinary
(tools.jackson.core.Base64Variant b64variant, byte[] data, int offset, int len) int
writeBinary
(tools.jackson.core.Base64Variant b64variant, InputStream data, int dataLength) Although we could support this method, it does not necessarily make sense: we cannot make good use of streaming because buffer must hold all the data.tools.jackson.core.JsonGenerator
writeBoolean
(boolean state) tools.jackson.core.JsonGenerator
writeEmbeddedObject
(Object object) final tools.jackson.core.JsonGenerator
final tools.jackson.core.JsonGenerator
final tools.jackson.core.JsonGenerator
tools.jackson.core.JsonGenerator
writeName
(tools.jackson.core.SerializableString name) tools.jackson.core.JsonGenerator
tools.jackson.core.JsonGenerator
writeNumber
(double d) tools.jackson.core.JsonGenerator
writeNumber
(float f) tools.jackson.core.JsonGenerator
writeNumber
(int i) tools.jackson.core.JsonGenerator
writeNumber
(long l) tools.jackson.core.JsonGenerator
writeNumber
(short i) tools.jackson.core.JsonGenerator
writeNumber
(String encodedValue) void
writeNumber
(String encodedValue, boolean isInteger) Write method that can be used for custom numeric types that can not be (easily?)tools.jackson.core.JsonGenerator
writeNumber
(BigDecimal dec) tools.jackson.core.JsonGenerator
tools.jackson.core.JsonGenerator
writeObjectId
(Object id) tools.jackson.core.JsonGenerator
tools.jackson.core.JsonGenerator
writePropertyId
(long id) tools.jackson.core.JsonGenerator
writeRaw
(char c) tools.jackson.core.JsonGenerator
writeRaw
(char[] text, int offset, int len) tools.jackson.core.JsonGenerator
tools.jackson.core.JsonGenerator
tools.jackson.core.JsonGenerator
writeRaw
(tools.jackson.core.SerializableString text) tools.jackson.core.JsonGenerator
writeRawUTF8String
(byte[] text, int offset, int length) tools.jackson.core.JsonGenerator
writeRawValue
(char[] text, int offset, int len) tools.jackson.core.JsonGenerator
writeRawValue
(String text) tools.jackson.core.JsonGenerator
writeRawValue
(String text, int offset, int len) final tools.jackson.core.JsonGenerator
final tools.jackson.core.JsonGenerator
writeStartArray
(Object forValue) final tools.jackson.core.JsonGenerator
writeStartArray
(Object forValue, int len) final tools.jackson.core.JsonGenerator
tools.jackson.core.JsonGenerator
writeStartObject
(Object forValue) tools.jackson.core.JsonGenerator
writeStartObject
(Object forValue, int size) tools.jackson.core.JsonGenerator
writeString
(char[] text, int offset, int len) tools.jackson.core.JsonGenerator
writeString
(Reader reader, int len) tools.jackson.core.JsonGenerator
writeString
(String text) tools.jackson.core.JsonGenerator
writeString
(tools.jackson.core.SerializableString text) tools.jackson.core.JsonGenerator
writeTree
(tools.jackson.core.TreeNode node) tools.jackson.core.JsonGenerator
writeTypeId
(Object id) tools.jackson.core.JsonGenerator
writeUTF8String
(byte[] text, int offset, int length) Methods inherited from class tools.jackson.core.JsonGenerator
_constructWriteException, _constructWriteException, _constructWriteException, _constructWriteException, _copyCurrentContents, _copyCurrentFloatValue, _copyCurrentFloatValueExact, _copyCurrentIntValue, _copyCurrentStringValue, _reportArgumentError, _reportError, _reportUnsupportedOperation, _verifyOffsets, _wrapIOFailure, _writeTypePrefixUsingNative, _writeTypePrefixUsingWrapper, canOmitProperties, copyCurrentEventExact, getCharacterEscapes, getHighestNonEscapedChar, getSchema, setCharacterEscapes, streamWriteConstraints, writeArray, writeArray, writeArray, writeArray, writeArrayPropertyStart, writeBinary, writeBinary, writeBinary, writeBinaryProperty, writeBooleanProperty, writeNullProperty, writeNumber, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeObjectPropertyStart, writeObjectRef, writeOmittedProperty, writePOJOProperty, writeRawValue, writeStringProperty, writeTypePrefix, writeTypeSuffix
-
Field Details
-
DEFAULT_STREAM_WRITE_FEATURES
protected static final int DEFAULT_STREAM_WRITE_FEATURES -
BOGUS_WRITE_CAPABILITIES
protected static final tools.jackson.core.util.JacksonFeatureSet<tools.jackson.core.StreamWriteCapability> BOGUS_WRITE_CAPABILITIES -
_parentContext
protected tools.jackson.core.TokenStreamContext _parentContextParse context from "parent" parser (one from which content to buffer is read, if specified). Used, if available, when reading content, to present full context as if content was read from the original parser: this is useful in error reporting and sometimes processing as well. -
_streamWriteFeatures
protected int _streamWriteFeaturesBit flag composed of bits that indicate whichStreamWriteFeature
s are enabled.NOTE: most features have no effect on this class
-
_streamReadConstraints
protected final tools.jackson.core.StreamReadConstraints _streamReadConstraints -
_closed
protected boolean _closed -
_hasNativeTypeIds
protected boolean _hasNativeTypeIds -
_hasNativeObjectIds
protected boolean _hasNativeObjectIds -
_mayHaveNativeIds
protected boolean _mayHaveNativeIds -
_forceBigDecimal
protected boolean _forceBigDecimalFlag set during construction, if use ofBigDecimal
is to be forced on all floating-point values. -
_first
First segment, for contents this buffer has -
_last
Last segment of this buffer, one that is used for appending more tokens -
_appendAt
protected int _appendAtOffset within last segment, -
_typeId
If native type ids supported, this is the id for following value (or first token of one) to be written. -
_objectId
If native object ids supported, this is the id for following value (or first token of one) to be written. -
_hasNativeId
protected boolean _hasNativeIdDo we currently have a native type or object id buffered? -
_tokenWriteContext
protected tools.jackson.core.util.SimpleStreamWriteContext _tokenWriteContext -
_objectWriteContext
protected tools.jackson.core.ObjectWriteContext _objectWriteContext- Since:
- 3.0
-
-
Constructor Details
-
TokenBuffer
Deprecated.- Parameters:
hasNativeIds
- Whether resultingJsonParser
(if created) is considered to support native type and object ids
-
TokenBuffer
public TokenBuffer(tools.jackson.core.ObjectWriteContext writeContext, boolean hasNativeIds) - Since:
- 3.0
-
TokenBuffer
protected TokenBuffer(tools.jackson.core.JsonParser p, tools.jackson.core.ObjectReadContext ctxt)
-
-
Method Details
-
forGeneration
Specialized factory method used when we are generating token stream for further processing without tokens coming from specific input token stream.- Since:
- 3.0
-
forBuffering
public static TokenBuffer forBuffering(tools.jackson.core.JsonParser p, tools.jackson.core.ObjectReadContext ctxt) Specialized factory method used when we are specifically buffering contents of a token stream for further processing.- Since:
- 3.0
-
overrideParentContext
Method that allows explicitly specifying parent parse context to associate with contents of this buffer. Usually context is assigned at construction, based on given parser; but it is not always available, and may not contain intended context. -
forceUseOfBigDecimal
-
asParser
public tools.jackson.core.JsonParser asParser()Method used to create aJsonParser
that can read contents stored in this buffer. Will create an "empty" read context (seeObjectReadContext.empty()
which often is not what you want.Note: instances are not synchronized, that is, they are not thread-safe if there are concurrent appends to the underlying buffer.
- Returns:
- Parser that can be used for reading contents stored in this buffer
-
asParser
public tools.jackson.core.JsonParser asParser(tools.jackson.core.ObjectReadContext readCtxt) Method used to create aJsonParser
that can read contents stored in this buffer.Note: instances are not synchronized, that is, they are not thread-safe if there are concurrent appends to the underlying buffer.
- Parameters:
readCtxt
- Active read context to use.- Returns:
- Parser that can be used for reading contents stored in this buffer
-
asParser
public tools.jackson.core.JsonParser asParser(tools.jackson.core.ObjectReadContext readCtxt, tools.jackson.core.JsonParser p0) - Parameters:
p0
- Parser to use for accessing source information like location, configured codec, streamReadConstraints
-
asParserOnFirstToken
public tools.jackson.core.JsonParser asParserOnFirstToken(tools.jackson.core.ObjectReadContext readCtxt) throws tools.jackson.core.JacksonException Same as:JsonParser p = asParser(readCtxt); p.nextToken(); return p;
- Throws:
tools.jackson.core.JacksonException
-
asParserOnFirstToken
public tools.jackson.core.JsonParser asParserOnFirstToken(tools.jackson.core.ObjectReadContext readCtxt, tools.jackson.core.JsonParser src) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
version
public tools.jackson.core.Version version()- Specified by:
version
in interfacetools.jackson.core.Versioned
- Specified by:
version
in classtools.jackson.core.JsonGenerator
-
firstToken
public tools.jackson.core.JsonToken firstToken() -
isEmpty
public boolean isEmpty()Accessor for checking whether this buffer has one or more tokens or not.- Returns:
- True if this buffer instance has no tokens
- Since:
- 2.13
-
append
Helper method that will append contents of given buffer into this buffer. Not particularly optimized; can be made faster if there is need.- Returns:
- This buffer
-
serialize
public void serialize(tools.jackson.core.JsonGenerator gen) throws tools.jackson.core.JacksonException Helper method that will write all contents of this buffer using givenJsonGenerator
.Note: this method would be enough to implement
ValueSerializer
forTokenBuffer
type; but we cannot have upwards references (from core to mapper package); and as such we also cannot take second argument.- Throws:
tools.jackson.core.JacksonException
-
deserialize
public TokenBuffer deserialize(tools.jackson.core.JsonParser p, DeserializationContext ctxt) throws tools.jackson.core.JacksonException Helper method used by standard deserializer.- Throws:
tools.jackson.core.JacksonException
-
toString
-
streamWriteContext
public tools.jackson.core.TokenStreamContext streamWriteContext()- Specified by:
streamWriteContext
in classtools.jackson.core.JsonGenerator
-
currentValue
- Specified by:
currentValue
in classtools.jackson.core.JsonGenerator
-
assignCurrentValue
- Specified by:
assignCurrentValue
in classtools.jackson.core.JsonGenerator
-
objectWriteContext
public tools.jackson.core.ObjectWriteContext objectWriteContext()- Specified by:
objectWriteContext
in classtools.jackson.core.JsonGenerator
-
configure
public tools.jackson.core.JsonGenerator configure(tools.jackson.core.StreamWriteFeature f, boolean state) - Specified by:
configure
in classtools.jackson.core.JsonGenerator
-
isEnabled
public boolean isEnabled(tools.jackson.core.StreamWriteFeature f) - Specified by:
isEnabled
in classtools.jackson.core.JsonGenerator
-
streamWriteFeatures
public int streamWriteFeatures()- Specified by:
streamWriteFeatures
in classtools.jackson.core.JsonGenerator
-
streamWriteCapabilities
public tools.jackson.core.util.JacksonFeatureSet<tools.jackson.core.StreamWriteCapability> streamWriteCapabilities()- Specified by:
streamWriteCapabilities
in classtools.jackson.core.JsonGenerator
-
flush
public void flush() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classtools.jackson.core.JsonGenerator
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in classtools.jackson.core.JsonGenerator
-
streamWriteOutputTarget
- Specified by:
streamWriteOutputTarget
in classtools.jackson.core.JsonGenerator
-
streamWriteOutputBuffered
public int streamWriteOutputBuffered()- Specified by:
streamWriteOutputBuffered
in classtools.jackson.core.JsonGenerator
-
writeStartArray
public final tools.jackson.core.JsonGenerator writeStartArray()- Specified by:
writeStartArray
in classtools.jackson.core.JsonGenerator
-
writeStartArray
- Specified by:
writeStartArray
in classtools.jackson.core.JsonGenerator
-
writeStartArray
- Specified by:
writeStartArray
in classtools.jackson.core.JsonGenerator
-
writeEndArray
public final tools.jackson.core.JsonGenerator writeEndArray()- Specified by:
writeEndArray
in classtools.jackson.core.JsonGenerator
-
writeStartObject
public final tools.jackson.core.JsonGenerator writeStartObject()- Specified by:
writeStartObject
in classtools.jackson.core.JsonGenerator
-
writeStartObject
- Specified by:
writeStartObject
in classtools.jackson.core.JsonGenerator
-
writeStartObject
- Specified by:
writeStartObject
in classtools.jackson.core.JsonGenerator
-
writeEndObject
public final tools.jackson.core.JsonGenerator writeEndObject()- Specified by:
writeEndObject
in classtools.jackson.core.JsonGenerator
-
writeName
- Specified by:
writeName
in classtools.jackson.core.JsonGenerator
-
writeName
public tools.jackson.core.JsonGenerator writeName(tools.jackson.core.SerializableString name) - Specified by:
writeName
in classtools.jackson.core.JsonGenerator
-
writePropertyId
public tools.jackson.core.JsonGenerator writePropertyId(long id) - Specified by:
writePropertyId
in classtools.jackson.core.JsonGenerator
-
writeString
- Specified by:
writeString
in classtools.jackson.core.JsonGenerator
-
writeString
public tools.jackson.core.JsonGenerator writeString(char[] text, int offset, int len) - Specified by:
writeString
in classtools.jackson.core.JsonGenerator
-
writeString
public tools.jackson.core.JsonGenerator writeString(tools.jackson.core.SerializableString text) - Specified by:
writeString
in classtools.jackson.core.JsonGenerator
-
writeString
- Specified by:
writeString
in classtools.jackson.core.JsonGenerator
-
writeRawUTF8String
public tools.jackson.core.JsonGenerator writeRawUTF8String(byte[] text, int offset, int length) - Specified by:
writeRawUTF8String
in classtools.jackson.core.JsonGenerator
-
writeUTF8String
public tools.jackson.core.JsonGenerator writeUTF8String(byte[] text, int offset, int length) - Specified by:
writeUTF8String
in classtools.jackson.core.JsonGenerator
-
writeRaw
- Specified by:
writeRaw
in classtools.jackson.core.JsonGenerator
-
writeRaw
- Specified by:
writeRaw
in classtools.jackson.core.JsonGenerator
-
writeRaw
public tools.jackson.core.JsonGenerator writeRaw(tools.jackson.core.SerializableString text) - Overrides:
writeRaw
in classtools.jackson.core.JsonGenerator
-
writeRaw
public tools.jackson.core.JsonGenerator writeRaw(char[] text, int offset, int len) - Specified by:
writeRaw
in classtools.jackson.core.JsonGenerator
-
writeRaw
public tools.jackson.core.JsonGenerator writeRaw(char c) - Specified by:
writeRaw
in classtools.jackson.core.JsonGenerator
-
writeRawValue
- Specified by:
writeRawValue
in classtools.jackson.core.JsonGenerator
-
writeRawValue
- Specified by:
writeRawValue
in classtools.jackson.core.JsonGenerator
-
writeRawValue
public tools.jackson.core.JsonGenerator writeRawValue(char[] text, int offset, int len) - Specified by:
writeRawValue
in classtools.jackson.core.JsonGenerator
-
writeNumber
public tools.jackson.core.JsonGenerator writeNumber(short i) - Specified by:
writeNumber
in classtools.jackson.core.JsonGenerator
-
writeNumber
public tools.jackson.core.JsonGenerator writeNumber(int i) - Specified by:
writeNumber
in classtools.jackson.core.JsonGenerator
-
writeNumber
public tools.jackson.core.JsonGenerator writeNumber(long l) - Specified by:
writeNumber
in classtools.jackson.core.JsonGenerator
-
writeNumber
public tools.jackson.core.JsonGenerator writeNumber(double d) - Specified by:
writeNumber
in classtools.jackson.core.JsonGenerator
-
writeNumber
public tools.jackson.core.JsonGenerator writeNumber(float f) - Specified by:
writeNumber
in classtools.jackson.core.JsonGenerator
-
writeNumber
- Specified by:
writeNumber
in classtools.jackson.core.JsonGenerator
-
writeNumber
- Specified by:
writeNumber
in classtools.jackson.core.JsonGenerator
-
writeNumber
- Specified by:
writeNumber
in classtools.jackson.core.JsonGenerator
-
writeNumber
Write method that can be used for custom numeric types that can not be (easily?) converted to "standard" Java number types. Because numbers are not surrounded by double quotes, regularwriteString(java.lang.String)
method can not be used; norwriteRaw(java.lang.String)
because that does not properly handle value separators needed in Array or Object contexts.- Parameters:
encodedValue
- Textual (possibly formatted) number representation to writeisInteger
- Whether value should be considered an integer- Throws:
IOException
- if there is either an underlying I/O problem or encoding issue at format layer- Since:
- 2.18
-
writeBoolean
public tools.jackson.core.JsonGenerator writeBoolean(boolean state) - Specified by:
writeBoolean
in classtools.jackson.core.JsonGenerator
-
writeNull
public tools.jackson.core.JsonGenerator writeNull()- Specified by:
writeNull
in classtools.jackson.core.JsonGenerator
-
writePOJO
- Specified by:
writePOJO
in classtools.jackson.core.JsonGenerator
-
writeTree
public tools.jackson.core.JsonGenerator writeTree(tools.jackson.core.TreeNode node) - Specified by:
writeTree
in classtools.jackson.core.JsonGenerator
-
writeBinary
public tools.jackson.core.JsonGenerator writeBinary(tools.jackson.core.Base64Variant b64variant, byte[] data, int offset, int len) - Specified by:
writeBinary
in classtools.jackson.core.JsonGenerator
-
writeBinary
public int writeBinary(tools.jackson.core.Base64Variant b64variant, InputStream data, int dataLength) Although we could support this method, it does not necessarily make sense: we cannot make good use of streaming because buffer must hold all the data. Because of this, currently this will simply throwUnsupportedOperationException
- Specified by:
writeBinary
in classtools.jackson.core.JsonGenerator
-
canWriteTypeId
public boolean canWriteTypeId()- Overrides:
canWriteTypeId
in classtools.jackson.core.JsonGenerator
-
canWriteObjectId
public boolean canWriteObjectId()- Overrides:
canWriteObjectId
in classtools.jackson.core.JsonGenerator
-
writeTypeId
- Overrides:
writeTypeId
in classtools.jackson.core.JsonGenerator
-
writeObjectId
- Overrides:
writeObjectId
in classtools.jackson.core.JsonGenerator
-
writeEmbeddedObject
- Overrides:
writeEmbeddedObject
in classtools.jackson.core.JsonGenerator
-
copyCurrentEvent
public void copyCurrentEvent(tools.jackson.core.JsonParser p) - Overrides:
copyCurrentEvent
in classtools.jackson.core.JsonGenerator
-
copyCurrentStructure
public void copyCurrentStructure(tools.jackson.core.JsonParser p) - Overrides:
copyCurrentStructure
in classtools.jackson.core.JsonGenerator
-
_copyBufferContents
protected void _copyBufferContents(tools.jackson.core.JsonParser p) -
_appendValue
protected final void _appendValue(tools.jackson.core.JsonToken type) Method used for appending token known to represent a "simple" scalar value where token is the only information -
_appendValue
Method used for appending token known to represent a scalar value where there is additional content (text, number) beyond type token -
_appendName
-
_appendStartMarker
protected final void _appendStartMarker(tools.jackson.core.JsonToken type) Specialized method used for appending a structural start Object/Array marker -
_appendEndMarker
protected final void _appendEndMarker(tools.jackson.core.JsonToken type) Specialized method used for appending a structural end Object/Array marker -
_reportUnsupportedOperation
protected <T> T _reportUnsupportedOperation()- Overrides:
_reportUnsupportedOperation
in classtools.jackson.core.JsonGenerator
-