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) |
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).
|
JsonGenerator |
JsonFactory.createGenerator(OutputStream out,
JsonEncoding enc)
Method for constructing JSON generator for writing JSON content
using specified output stream.
|
JsonGenerator |
JsonFactory.createJsonGenerator(File f,
JsonEncoding enc)
Deprecated.
Since 2.2, use
JsonFactory.createGenerator(File,JsonEncoding) instead. |
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) |
Modifier and Type | Method and Description |
---|---|
JsonEncoding |
ByteSourceJsonBootstrapper.detectEncoding()
Method that should be called after constructing an instace.
|
Copyright © 2014-2015 FasterXML. All Rights Reserved.