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.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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JsonGenerator._reportError(String msg)
Helper method used for constructing and throwing
JsonGenerationException with given base message. |
void |
PrettyPrinter.beforeArrayValues(JsonGenerator jg)
Method called after array start marker has been output,
and right before the first value is to be output.
|
void |
PrettyPrinter.beforeObjectEntries(JsonGenerator jg)
Method called after object start marker has been output,
and right before the field name of the first entry is
to be output.
|
void |
PrettyPrinter.writeArrayValueSeparator(JsonGenerator jg)
Method called after an array value has been completely
output, and before another value is to be output.
|
void |
PrettyPrinter.writeEndArray(JsonGenerator jg,
int nrOfValues)
Method called after an Array value has been completely output
(minus closing bracket).
|
void |
PrettyPrinter.writeEndObject(JsonGenerator jg,
int nrOfEntries)
Method called after an Object value has been completely output
(minus closing curly bracket).
|
void |
PrettyPrinter.writeObjectEntrySeparator(JsonGenerator jg)
Method called after an object entry (field:value) has been completely
output, and before another value is to be output.
|
void |
PrettyPrinter.writeObjectFieldValueSeparator(JsonGenerator jg)
Method called after an object field has been output, but
before the value is output.
|
void |
PrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
Method called after a root-level value has been completely
output, and before another value is to be output.
|
void |
PrettyPrinter.writeStartArray(JsonGenerator jg)
Method called when an Array value is to be output, before
any member/child values are output.
|
void |
PrettyPrinter.writeStartObject(JsonGenerator jg)
Method called when an Object value is to be output, before
any fields are output.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UTF8JsonGenerator._verifyPrettyValueWrite(String typeMsg,
int status) |
protected void |
UTF8JsonGenerator._verifyValueWrite(String typeMsg) |
protected void |
WriterBasedJsonGenerator._writeBinary(Base64Variant b64variant,
byte[] input,
int inputPtr,
int inputEnd) |
protected void |
UTF8JsonGenerator._writeBinary(Base64Variant b64variant,
byte[] input,
int inputPtr,
int inputEnd) |
protected int |
WriterBasedJsonGenerator._writeBinary(Base64Variant b64variant,
InputStream data,
byte[] readBuffer) |
protected int |
UTF8JsonGenerator._writeBinary(Base64Variant b64variant,
InputStream data,
byte[] readBuffer) |
protected int |
WriterBasedJsonGenerator._writeBinary(Base64Variant b64variant,
InputStream data,
byte[] readBuffer,
int bytesLeft) |
protected int |
UTF8JsonGenerator._writeBinary(Base64Variant b64variant,
InputStream data,
byte[] readBuffer,
int bytesLeft) |
protected void |
WriterBasedJsonGenerator._writePPFieldName(SerializableString name,
boolean commaBefore) |
protected void |
WriterBasedJsonGenerator._writePPFieldName(String name,
boolean commaBefore)
Specialized version of
_writeFieldName , off-lined
to keep the "fast path" as simple (and hopefully fast) as possible. |
void |
WriterBasedJsonGenerator.writeBinary(Base64Variant b64variant,
byte[] data,
int offset,
int len) |
void |
UTF8JsonGenerator.writeBinary(Base64Variant b64variant,
byte[] data,
int offset,
int len) |
int |
WriterBasedJsonGenerator.writeBinary(Base64Variant b64variant,
InputStream data,
int dataLength) |
int |
UTF8JsonGenerator.writeBinary(Base64Variant b64variant,
InputStream data,
int dataLength) |
void |
UTF8JsonGenerator.writeBoolean(boolean state) |
void |
WriterBasedJsonGenerator.writeEndArray() |
void |
WriterBasedJsonGenerator.writeEndObject() |
void |
UTF8JsonGenerator.writeNull() |
void |
UTF8JsonGenerator.writeNumber(BigDecimal value) |
void |
UTF8JsonGenerator.writeNumber(BigInteger value) |
void |
UTF8JsonGenerator.writeNumber(double d) |
void |
UTF8JsonGenerator.writeNumber(float f) |
void |
UTF8JsonGenerator.writeNumber(int i) |
void |
UTF8JsonGenerator.writeNumber(long l) |
void |
UTF8JsonGenerator.writeNumber(short s) |
void |
UTF8JsonGenerator.writeNumber(String encodedValue) |
void |
UTF8JsonGenerator.writeRaw(char ch) |
void |
UTF8JsonGenerator.writeRaw(char[] cbuf,
int offset,
int len) |
void |
UTF8JsonGenerator.writeRaw(SerializableString text) |
void |
UTF8JsonGenerator.writeRaw(String text) |
void |
UTF8JsonGenerator.writeRaw(String text,
int offset,
int len) |
void |
WriterBasedJsonGenerator.writeStartArray() |
void |
WriterBasedJsonGenerator.writeStartObject() |
void |
JsonGeneratorImpl.writeStringField(String fieldName,
String value) |
Modifier and Type | Method and Description |
---|---|
void |
MinimalPrettyPrinter.beforeArrayValues(JsonGenerator jg) |
void |
DefaultPrettyPrinter.beforeArrayValues(JsonGenerator jg) |
void |
MinimalPrettyPrinter.beforeObjectEntries(JsonGenerator jg) |
void |
DefaultPrettyPrinter.beforeObjectEntries(JsonGenerator jg) |
Object |
JsonParserDelegate.getObjectId() |
Object |
JsonParserDelegate.getTypeId() |
void |
MinimalPrettyPrinter.writeArrayValueSeparator(JsonGenerator jg)
Method called after an array value has been completely
output, and before another value is to be output.
|
void |
DefaultPrettyPrinter.writeArrayValueSeparator(JsonGenerator jg)
Method called after an array value has been completely
output, and before another value is to be output.
|
void |
MinimalPrettyPrinter.writeEndArray(JsonGenerator jg,
int nrOfValues) |
void |
DefaultPrettyPrinter.writeEndArray(JsonGenerator jg,
int nrOfValues) |
void |
MinimalPrettyPrinter.writeEndObject(JsonGenerator jg,
int nrOfEntries) |
void |
DefaultPrettyPrinter.writeEndObject(JsonGenerator jg,
int nrOfEntries) |
void |
DefaultPrettyPrinter.FixedSpaceIndenter.writeIndentation(JsonGenerator jg,
int level) |
void |
MinimalPrettyPrinter.writeObjectEntrySeparator(JsonGenerator jg)
Method called after an object entry (field:value) has been completely
output, and before another value is to be output.
|
void |
DefaultPrettyPrinter.writeObjectEntrySeparator(JsonGenerator jg)
Method called after an object entry (field:value) has been completely
output, and before another value is to be output.
|
void |
MinimalPrettyPrinter.writeObjectFieldValueSeparator(JsonGenerator jg)
Method called after an object field has been output, but
before the value is output.
|
void |
DefaultPrettyPrinter.writeObjectFieldValueSeparator(JsonGenerator jg)
Method called after an object field has been output, but
before the value is output.
|
void |
MinimalPrettyPrinter.writeRootValueSeparator(JsonGenerator jg) |
void |
DefaultPrettyPrinter.writeRootValueSeparator(JsonGenerator jg) |
void |
MinimalPrettyPrinter.writeStartArray(JsonGenerator jg) |
void |
DefaultPrettyPrinter.writeStartArray(JsonGenerator jg) |
void |
MinimalPrettyPrinter.writeStartObject(JsonGenerator jg) |
void |
DefaultPrettyPrinter.writeStartObject(JsonGenerator jg) |
Copyright © 2014-2015 FasterXML. All Rights Reserved.