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.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.ext |
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
|
com.fasterxml.jackson.databind.ser.std | |
com.fasterxml.jackson.module.jaxb.ser |
Modifier and Type | Method and Description |
---|---|
JsonGenerationException |
JsonGenerationException.withGenerator(JsonGenerator g)
Fluent method that may be used to assign originating
JsonGenerator ,
to be accessed using getProcessor() . |
Modifier and Type | Method and Description |
---|---|
protected void |
JsonGenerator._reportError(String msg)
Helper method used for constructing and throwing
JsonGenerationException with given base message. |
Modifier and Type | Method and Description |
---|---|
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) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
ObjectMapper.writeValue(File resultFile,
Object value)
Method that can be used to serialize any Java value as
JSON output, written to File provided.
|
void |
ObjectWriter.writeValue(File resultFile,
Object value)
Method that can be used to serialize any Java value as
JSON output, written to File provided.
|
void |
ObjectMapper.writeValue(JsonGenerator g,
Object value)
Method that can be used to serialize any Java value as
JSON output, using provided
JsonGenerator . |
void |
ObjectMapper.writeValue(OutputStream out,
Object value)
Method that can be used to serialize any Java value as
JSON output, using output stream provided (using encoding
JsonEncoding.UTF8 ). |
void |
ObjectWriter.writeValue(OutputStream out,
Object value)
Method that can be used to serialize any Java value as
JSON output, using output stream provided (using encoding
JsonEncoding.UTF8 ). |
void |
ObjectMapper.writeValue(Writer w,
Object value)
Method that can be used to serialize any Java value as
JSON output, using Writer provided.
|
void |
ObjectWriter.writeValue(Writer w,
Object value)
Method that can be used to serialize any Java value as
JSON output, using Writer provided.
|
Modifier and Type | Method and Description |
---|---|
void |
DOMSerializer.serialize(Node value,
JsonGenerator jgen,
SerializerProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
StdJdkSerializers.AtomicBooleanSerializer.serialize(AtomicBoolean value,
JsonGenerator gen,
SerializerProvider provider) |
void |
StdJdkSerializers.AtomicIntegerSerializer.serialize(AtomicInteger value,
JsonGenerator gen,
SerializerProvider provider) |
void |
StdJdkSerializers.AtomicLongSerializer.serialize(AtomicLong value,
JsonGenerator gen,
SerializerProvider provider) |
protected void |
BeanSerializerBase.serializeFieldsFiltered(Object bean,
JsonGenerator gen,
SerializerProvider provider)
Alternative serialization method that gets called when there is a
PropertyFilter that needs to be called to determine
which properties are to be serialized (and possibly how) |
Modifier and Type | Method and Description |
---|---|
void |
DomElementJsonSerializer.serialize(Element value,
JsonGenerator jgen,
SerializerProvider provider) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.