public final class JsonNode
extends com.fasterxml.jackson.databind.node.ObjectNode
ObjectNode based JsonNode with improved fluent API.| Modifier and Type | Method and Description |
|---|---|
JsonNode |
compute(Consumer<JsonNode> consumer) |
static JsonNode |
create() |
JsonNode |
put(String fieldName,
BigDecimal v) |
JsonNode |
put(String fieldName,
BigInteger v) |
JsonNode |
put(String fieldName,
boolean v) |
JsonNode |
put(String fieldName,
Boolean v) |
JsonNode |
put(String fieldName,
byte[] v) |
JsonNode |
put(String fieldName,
double v) |
JsonNode |
put(String fieldName,
Double v) |
JsonNode |
put(String fieldName,
float v) |
JsonNode |
put(String fieldName,
Float v) |
JsonNode |
put(String fieldName,
int v) |
JsonNode |
put(String fieldName,
Integer v) |
JsonNode |
put(String fieldName,
com.fasterxml.jackson.databind.JsonNode value)
Method that will set specified field, replacing old value, if any.
|
JsonNode |
put(String fieldName,
long v) |
JsonNode |
put(String fieldName,
Long v) |
JsonNode |
put(String fieldName,
Object obj) |
JsonNode |
put(String fieldName,
short v) |
JsonNode |
put(String fieldName,
Short v) |
JsonNode |
put(String fieldName,
String v) |
JsonNode |
putNull(String fieldName) |
JsonNode |
putPOJO(String fieldName,
Object pojo) |
JsonNode |
putRawValue(String fieldName,
com.fasterxml.jackson.databind.util.RawValue raw) |
JsonNode |
remove(Collection<String> fieldNames) |
com.fasterxml.jackson.databind.JsonNode |
remove(String fieldName)
IMPORTANT: Does NOT return this node for chaining.
|
JsonNode |
removeAll() |
com.fasterxml.jackson.databind.JsonNode |
replace(String fieldName,
com.fasterxml.jackson.databind.JsonNode value)
IMPORTANT: Does NOT return this node for chaining.
|
JsonNode |
retain(Collection<String> fieldNames) |
JsonNode |
retain(String... fieldNames) |
JsonNode |
set(String fieldName,
com.fasterxml.jackson.databind.JsonNode value) |
<T extends com.fasterxml.jackson.databind.JsonNode> |
setAll(Map<String,? extends com.fasterxml.jackson.databind.JsonNode> properties) |
JsonNode |
setAll(com.fasterxml.jackson.databind.node.ObjectNode other) |
<T extends com.fasterxml.jackson.databind.JsonNode> |
without(Collection<String> fieldNames) |
JsonNode |
without(String fieldName) |
_at, _childrenEqual, _put, asToken, deepCopy, elements, equals, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, get, get, getNodeType, hashCode, isEmpty, isEmpty, isObject, path, path, putAll, putAll, putArray, putObject, required, serialize, serializeWithType, size, with, withArrayarrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, textNodefindPath, numberType, required, toPrettyString, toString, traverse, traverse_reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asText, at, at, bigIntegerValue, binaryValue, booleanValue, canConvertToExactIntegral, canConvertToInt, canConvertToLong, decimalValue, doubleValue, findParents, findValues, findValuesAsText, floatValue, has, has, hasNonNull, hasNonNull, intValue, isArray, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloat, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isPojo, isShort, isTextual, isValueNode, iterator, longValue, numberValue, require, requiredAt, requiredAt, requireNonNull, shortValue, textValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static JsonNode create()
public JsonNode put(String fieldName, BigDecimal v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, BigInteger v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, boolean v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, Boolean v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, byte[] v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, com.fasterxml.jackson.databind.JsonNode value)
put in class com.fasterxml.jackson.databind.node.ObjectNodevalue - to set field to; if null, will be converted
to a NullNode first (to remove field entry, call
remove(java.util.Collection<java.lang.String>) instead)public JsonNode put(String fieldName, double v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, Double v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, float v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, Float v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, int v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, Integer v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, long v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, Long v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, short v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, Short v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode put(String fieldName, String v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode putNull(String fieldName)
putNull in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode putPOJO(String fieldName, Object pojo)
putPOJO in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode putRawValue(String fieldName, com.fasterxml.jackson.databind.util.RawValue raw)
putRawValue in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode remove(Collection<String> fieldNames)
remove in class com.fasterxml.jackson.databind.node.ObjectNodepublic com.fasterxml.jackson.databind.JsonNode remove(String fieldName)
remove in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode removeAll()
removeAll in class com.fasterxml.jackson.databind.node.ObjectNodepublic com.fasterxml.jackson.databind.JsonNode replace(String fieldName, com.fasterxml.jackson.databind.JsonNode value)
replace in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode retain(Collection<String> fieldNames)
retain in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode retain(String... fieldNames)
retain in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode set(String fieldName, com.fasterxml.jackson.databind.JsonNode value)
set in class com.fasterxml.jackson.databind.node.ObjectNodepublic <T extends com.fasterxml.jackson.databind.JsonNode> T setAll(Map<String,? extends com.fasterxml.jackson.databind.JsonNode> properties)
setAll in class com.fasterxml.jackson.databind.node.ObjectNodepublic JsonNode setAll(com.fasterxml.jackson.databind.node.ObjectNode other)
setAll in class com.fasterxml.jackson.databind.node.ObjectNodepublic <T extends com.fasterxml.jackson.databind.JsonNode> T without(Collection<String> fieldNames)
without in class com.fasterxml.jackson.databind.node.ObjectNodeCopyright © 2010–2021 Vegard IT GmbH, Germany. All rights reserved.