public interface JsonNodeCreator
JsonNodeFactory
and ContainerNode
(that is,
JSON Object and Array nodes).Modifier and Type | Method and Description |
---|---|
ArrayNode |
arrayNode() |
ArrayNode |
arrayNode(int capacity)
Factory method for constructing a JSON Array node with an initial capacity
|
ValueNode |
binaryNode(byte[] data) |
ValueNode |
binaryNode(byte[] data,
int offset,
int length) |
ValueNode |
booleanNode(boolean v) |
ValueNode |
nullNode() |
ValueNode |
numberNode(java.math.BigDecimal v) |
ValueNode |
numberNode(java.math.BigInteger v) |
ValueNode |
numberNode(byte v) |
ValueNode |
numberNode(java.lang.Byte value) |
ValueNode |
numberNode(double v) |
ValueNode |
numberNode(java.lang.Double value) |
ValueNode |
numberNode(float v) |
ValueNode |
numberNode(java.lang.Float value) |
ValueNode |
numberNode(int v) |
ValueNode |
numberNode(java.lang.Integer value) |
ValueNode |
numberNode(long v) |
ValueNode |
numberNode(java.lang.Long value) |
ValueNode |
numberNode(short v) |
ValueNode |
numberNode(java.lang.Short value) |
ObjectNode |
objectNode() |
ValueNode |
pojoNode(java.lang.Object pojo) |
ValueNode |
rawValueNode(RawValue value)
Factory method to use for adding "raw values"; pre-encoded values
that are included exactly as-is when node is serialized.
|
ValueNode |
textNode(java.lang.String text) |
ValueNode booleanNode(boolean v)
ValueNode nullNode()
ValueNode numberNode(byte v)
ValueNode numberNode(java.lang.Byte value)
ValueNode numberNode(short v)
ValueNode numberNode(java.lang.Short value)
ValueNode numberNode(int v)
ValueNode numberNode(java.lang.Integer value)
ValueNode numberNode(long v)
ValueNode numberNode(java.lang.Long value)
ValueNode numberNode(java.math.BigInteger v)
ValueNode numberNode(float v)
ValueNode numberNode(java.lang.Float value)
ValueNode numberNode(double v)
ValueNode numberNode(java.lang.Double value)
ValueNode numberNode(java.math.BigDecimal v)
ValueNode textNode(java.lang.String text)
ValueNode binaryNode(byte[] data)
ValueNode binaryNode(byte[] data, int offset, int length)
ValueNode pojoNode(java.lang.Object pojo)
ValueNode rawValueNode(RawValue value)
ArrayNode arrayNode()
ArrayNode arrayNode(int capacity)
ObjectNode objectNode()
Copyright © 2010 - 2020 Adobe. All Rights Reserved