JsonGenerator instances by TokenStreamFactory.
| Modifier and Type | Class and Description |
|---|---|
| public static class | ObjectWriteContext.
Default no-op implementation. |
| Modifier and Type | Method and Description |
|---|---|
| public ArrayTreeNode | Returns: Array node createdMethod for construct Array nodes for Tree Model instances. |
| public default JsonGenerator | |
| public default JsonGenerator | |
| public default JsonGenerator | |
| public ObjectTreeNode | Returns: Object node createdMethod for construct Object nodes for Tree Model instances. |
| public static ObjectWriteContext | |
| public CharacterEscapes | |
| public int | |
| public PrettyPrinter | Returns: PrettyPrinter instance to use for a single serialization operationAccessor for getting |
| public SerializableString | |
| public FormatSchema | |
| public int | |
| public boolean | hasPrettyPrinter()
Accessor similar to |
| public TokenStreamFactory | |
| public void | |
| public void | writeValue(JsonGenerator
Generator to use for serialization g, Object Java value to be serialized value)Method that may be called to serialize given value, using specified token stream generator. |
| createArrayNode | back to summary |
|---|---|
| public ArrayTreeNode createArrayNode() Method for construct Array nodes for Tree Model instances.
| |
| createGenerator | back to summary |
|---|---|
| public default JsonGenerator createGenerator(OutputStream out) throws JacksonException | |
| createGenerator | back to summary |
|---|---|
| public default JsonGenerator createGenerator(OutputStream out, JsonEncoding enc) throws JacksonException | |
| createGenerator | back to summary |
|---|---|
| public default JsonGenerator createGenerator(Writer w) throws JacksonException | |
| createObjectNode | back to summary |
|---|---|
| public ObjectTreeNode createObjectNode() Method for construct Object nodes for Tree Model instances.
| |
| empty | back to summary |
|---|---|
| public static ObjectWriteContext empty() | |
| getCharacterEscapes | back to summary |
|---|---|
| public CharacterEscapes getCharacterEscapes() | |
| getFormatWriteFeatures | back to summary |
|---|---|
| public int getFormatWriteFeatures(int defaults) | |
| getPrettyPrinter | back to summary |
|---|---|
| public PrettyPrinter getPrettyPrinter() Accessor for getting
| |
| getRootValueSeparator | back to summary |
|---|---|
| public SerializableString getRootValueSeparator(SerializableString defaultSeparator) | |
| getSchema | back to summary |
|---|---|
| public FormatSchema getSchema() | |
| getStreamWriteFeatures | back to summary |
|---|---|
| public int getStreamWriteFeatures(int defaults) | |
| hasPrettyPrinter | back to summary |
|---|---|
| public boolean hasPrettyPrinter() Accessor similar to
| |
| tokenStreamFactory | back to summary |
|---|---|
| public TokenStreamFactory tokenStreamFactory() | |
| writeTree | back to summary |
|---|---|
| public void writeTree(JsonGenerator g, TreeNode value) throws JacksonException | |
| writeValue | back to summary |
|---|---|
| public void writeValue(JsonGenerator g, Object value) throws JacksonException Method that may be called to serialize given value, using specified token stream generator.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected static ObjectWriteContext. |
| Access | Constructor and Description |
|---|---|
| public |
| EMPTY_CONTEXT | back to summary |
|---|---|
| protected static ObjectWriteContext. | |
| Base | back to summary |
|---|---|
| public Base() | |
| _reportUnsupportedOperation | back to summary |
|---|---|
| protected <T> T _reportUnsupportedOperation() | |
| createArrayNode | back to summary |
|---|---|
| public ArrayTreeNode createArrayNode() Implements tools. Doc from tools. Method for construct Array nodes for Tree Model instances.
| |
| createObjectNode | back to summary |
|---|---|
| public ObjectTreeNode createObjectNode() Implements tools. Doc from tools. Method for construct Object nodes for Tree Model instances.
| |
| getCharacterEscapes | back to summary |
|---|---|
| public CharacterEscapes getCharacterEscapes() Implements tools.
| |
| getFormatWriteFeatures | back to summary |
|---|---|
| public int getFormatWriteFeatures(int defaults) Implements tools.
| |
| getPrettyPrinter | back to summary |
|---|---|
| public PrettyPrinter getPrettyPrinter() Implements tools. Doc from tools. Accessor for getting
| |
| getRootValueSeparator | back to summary |
|---|---|
| public SerializableString getRootValueSeparator(SerializableString defaultSeparator) Implements tools.
| |
| getSchema | back to summary |
|---|---|
| public FormatSchema getSchema() Implements tools.
| |
| getStreamWriteFeatures | back to summary |
|---|---|
| public int getStreamWriteFeatures(int defaults) Implements tools.
| |
| hasPrettyPrinter | back to summary |
|---|---|
| public boolean hasPrettyPrinter() Implements tools. Doc from tools. Accessor similar to
| |
| tokenStreamFactory | back to summary |
|---|---|
| public TokenStreamFactory tokenStreamFactory() Implements tools.
| |
| writeTree | back to summary |
|---|---|
| public void writeTree(JsonGenerator g, TreeNode value) Implements tools.
| |
| writeValue | back to summary |
|---|---|
| public void writeValue(JsonGenerator g, Object value) Implements tools. Doc from tools. Method that may be called to serialize given value, using specified token stream generator.
| |