Package | Description |
---|---|
org.codehaus.jackson |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonParser )
instances. |
org.codehaus.jackson.impl |
Parser and generator implementation classes that Jackson
defines and uses.
|
org.codehaus.jackson.io |
This package contains I/O helper classes Jackson itself uses, but that
are not exposed for external reuse.
|
org.codehaus.jackson.smile |
Package that contains experimental implementation of
"Binary-Encoded JSON-Like" data format handlers (parser,
generator, factory produce both, supporting constants).
|
org.codehaus.jackson.util |
Utility classes used by Jackson Core functionality.
|
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. |
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.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 | Field and Description |
---|---|
protected SerializableString |
WriterBasedGenerator._currentEscape
When custom escapes are used, this member variable can be used to
store escape to use
|
Modifier and Type | Method and Description |
---|---|
protected void |
Utf8Generator._writeFieldName(SerializableString name) |
void |
WriterBasedGenerator._writeFieldName(SerializableString name,
boolean commaBefore) |
protected void |
WriterBasedGenerator._writePPFieldName(SerializableString name,
boolean commaBefore) |
protected void |
Utf8Generator._writePPFieldName(SerializableString name,
boolean commaBefore) |
boolean |
Utf8StreamParser.nextFieldName(SerializableString str) |
void |
WriterBasedGenerator.writeFieldName(SerializableString name) |
void |
Utf8Generator.writeFieldName(SerializableString name) |
void |
WriterBasedGenerator.writeString(SerializableString sstr) |
void |
Utf8Generator.writeString(SerializableString text) |
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 | Method and Description |
---|---|
protected void |
SmileGenerator._writeFieldName(SerializableString name) |
protected void |
SmileGenerator._writeFieldNameUnicode(SerializableString name,
byte[] bytes) |
boolean |
SmileParser.nextFieldName(SerializableString str) |
void |
SmileGenerator.writeFieldName(SerializableString name) |
void |
SmileGenerator.writeString(SerializableString sstr) |
Modifier and Type | Method and Description |
---|---|
void |
TokenBuffer.writeFieldName(SerializableString name) |
void |
JsonGeneratorDelegate.writeFieldName(SerializableString name) |
void |
TokenBuffer.writeString(SerializableString text) |
void |
JsonGeneratorDelegate.writeString(SerializableString text) |