com.fasterxml.jackson.core.JsonGenerator object.
This is similar to com.fasterxml.jackson.jr.ob.comp.ArrayComposer , but does not
have parent composer (so no end() method),
but does implement java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
| protected ByteArrayBuilder | |
| protected final boolean | |
| protected final int | |
| protected T | |
| protected SegmentedStringWriter |
| Access | Constructor and Description |
|---|---|
| public | |
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | |
| protected JSONComposer | |
| public static JSONComposer | |
| public static <T extends Collection | |
| public T | finish()
Method to call to complete composition, flush any pending content, and return instance of specified result type. |
| public static JSONComposer | |
| public static <RESULT> JSONComposer | |
| public static JSONComposer |
| _byteWriter | back to summary |
|---|---|
| protected ByteArrayBuilder _byteWriter | |
| _closeGenerator | back to summary |
|---|---|
| protected final boolean _closeGenerator | |
| _features | back to summary |
|---|---|
| protected final int _features | |
| _result | back to summary |
|---|---|
| protected T _result | |
| _stringWriter | back to summary |
|---|---|
| protected SegmentedStringWriter _stringWriter | |
| JSONComposer | back to summary |
|---|---|
| public JSONComposer(int features, JsonGenerator gen, boolean closeGenerator) | |
| JSONComposer | back to summary |
|---|---|
| protected JSONComposer(int features, JsonGenerator gen, SegmentedStringWriter w) | |
| JSONComposer | back to summary |
|---|---|
| protected JSONComposer(int features, JsonGenerator gen, ByteArrayBuilder w) | |
| JSONComposer | back to summary |
|---|---|
| protected JSONComposer(int features, T result) | |
| _finish | back to summary |
|---|---|
| protected Object _finish() throws IOException Implements abstract com.
| |
| _start | back to summary |
|---|---|
| protected JSONComposer Implements abstract com.
| |
| bytesComposer | back to summary |
|---|---|
| public static JSONComposer | |
| collectionComposer | back to summary |
|---|---|
| public static <T extends Collection | |
| finish | back to summary |
|---|---|
| public T finish() throws IOException Method to call to complete composition, flush any pending content, and return instance of specified result type.
| |
| mapComposer | back to summary |
|---|---|
| public static JSONComposer | |
| streamComposer | back to summary |
|---|---|
| public static <RESULT> JSONComposer | |
| stringComposer | back to summary |
|---|---|
| public static JSONComposer | |