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.io | |
com.fasterxml.jackson.core.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
Modifier and Type | Method and Description |
---|---|
static JsonEncoding |
JsonEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonEncoding[] |
JsonEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected Writer |
JsonFactory._createWriter(OutputStream out,
JsonEncoding enc,
IOContext ctxt) |
abstract JsonGenerator |
TokenStreamFactory.createGenerator(DataOutput out,
JsonEncoding enc) |
JsonGenerator |
JsonFactory.createGenerator(DataOutput out,
JsonEncoding enc)
Method for constructing generator for writing content using specified
DataOutput instance. |
abstract JsonGenerator |
TokenStreamFactory.createGenerator(File f,
JsonEncoding enc) |
JsonGenerator |
JsonFactory.createGenerator(File f,
JsonEncoding enc)
Method for constructing JSON generator for writing JSON content
to specified file, overwriting contents it might have (or creating
it if such file does not yet exist).
|
abstract JsonGenerator |
TokenStreamFactory.createGenerator(OutputStream out,
JsonEncoding enc) |
JsonGenerator |
JsonFactory.createGenerator(OutputStream out,
JsonEncoding enc)
Method for constructing JSON generator for writing JSON content
using specified output stream.
|
JsonGenerator |
JsonFactory.createJsonGenerator(OutputStream out,
JsonEncoding enc)
Deprecated.
Since 2.2, use
JsonFactory.createGenerator(OutputStream, JsonEncoding) instead. |
Modifier and Type | Field and Description |
---|---|
protected JsonEncoding |
IOContext._encoding
Encoding used by the underlying stream, if known.
|
Modifier and Type | Method and Description |
---|---|
JsonEncoding |
IOContext.getEncoding() |
Modifier and Type | Method and Description |
---|---|
void |
IOContext.setEncoding(JsonEncoding enc) |
IOContext |
IOContext.withEncoding(JsonEncoding enc) |
Modifier and Type | Method and Description |
---|---|
JsonEncoding |
ByteSourceJsonBootstrapper.detectEncoding()
Method that should be called after constructing an instace.
|
Copyright © 2008–2019 FasterXML. All rights reserved.