public interface JsonNodeCreator
JsonNodeFactory
and ContainerNode
(that is,
JSON Object and Array nodes).Modifier and Type | Method and Description |
---|---|
ArrayNode |
arrayNode() |
ValueNode |
binaryNode(byte[] data) |
ValueNode |
binaryNode(byte[] data,
int offset,
int length) |
ValueNode |
booleanNode(boolean v) |
ValueNode |
nullNode() |
ValueNode |
numberNode(BigDecimal v) |
ValueNode |
numberNode(BigInteger v) |
ValueNode |
numberNode(byte v) |
ValueNode |
numberNode(Byte value) |
ValueNode |
numberNode(double v) |
ValueNode |
numberNode(Double value) |
ValueNode |
numberNode(float v) |
ValueNode |
numberNode(Float value) |
ValueNode |
numberNode(int v) |
ValueNode |
numberNode(Integer value) |
ValueNode |
numberNode(long v) |
ValueNode |
numberNode(Long value) |
ValueNode |
numberNode(short v) |
ValueNode |
numberNode(Short value) |
ObjectNode |
objectNode() |
ValueNode |
pojoNode(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(String text) |
ValueNode booleanNode(boolean v)
ValueNode nullNode()
ValueNode numberNode(byte v)
ValueNode numberNode(short v)
ValueNode numberNode(int v)
ValueNode numberNode(long v)
ValueNode numberNode(BigInteger v)
ValueNode numberNode(float v)
ValueNode numberNode(double v)
ValueNode numberNode(BigDecimal v)
ValueNode binaryNode(byte[] data)
ValueNode binaryNode(byte[] data, int offset, int length)
ValueNode rawValueNode(RawValue value)
ArrayNode arrayNode()
ObjectNode objectNode()
Copyright © 2008–2018 FasterXML. All rights reserved.