Package | Description |
---|---|
software.amazon.awssdk.protocols.jsoncore | |
software.amazon.awssdk.protocols.jsoncore.internal |
Modifier and Type | Method and Description |
---|---|
static JsonNode |
JsonNode.emptyObjectNode()
Return an empty object node.
|
JsonNode |
JsonNodeParser.parse(byte[] content)
Parse the provided
byte[] into a JsonNode . |
JsonNode |
JsonNodeParser.parse(InputStream content)
Parse the provided
InputStream into a JsonNode . |
JsonNode |
JsonNodeParser.parse(String content)
|
Modifier and Type | Method and Description |
---|---|
List<JsonNode> |
JsonNode.asArray()
When
isArray() is true, this returns the array associated with this node. |
Map<String,JsonNode> |
JsonNode.asObject()
When
isObject() is true, this returns the object associated with this node. |
default Optional<JsonNode> |
JsonNode.field(String child)
When
isObject() is true, this will return the result of Optional.ofNullable(asObject().get(child)) . |
default Optional<JsonNode> |
JsonNode.index(int child)
When
isArray() is true, this will return the result of asArray().get(child) if child is within bounds. |
Modifier and Type | Method and Description |
---|---|
T |
JsonNodeVisitor.visitArray(List<JsonNode> array)
Invoked if
visit(JsonNodeVisitor) is invoked on an array JSON node. |
T |
JsonNodeVisitor.visitObject(Map<String,JsonNode> object)
Invoked if
visit(JsonNodeVisitor) is invoked on an object JSON node. |
Modifier and Type | Class and Description |
---|---|
class |
ArrayJsonNode
An array
JsonNode . |
class |
BooleanJsonNode
A boolean
JsonNode . |
class |
EmbeddedObjectJsonNode
An embedded object
JsonNode . |
class |
NullJsonNode
A null
JsonNode . |
class |
NumberJsonNode
A numeric
JsonNode . |
class |
ObjectJsonNode
An object
JsonNode . |
class |
StringJsonNode
A string
JsonNode . |
Modifier and Type | Method and Description |
---|---|
List<JsonNode> |
StringJsonNode.asArray() |
List<JsonNode> |
ObjectJsonNode.asArray() |
List<JsonNode> |
NumberJsonNode.asArray() |
List<JsonNode> |
NullJsonNode.asArray() |
List<JsonNode> |
EmbeddedObjectJsonNode.asArray() |
List<JsonNode> |
BooleanJsonNode.asArray() |
List<JsonNode> |
ArrayJsonNode.asArray() |
Map<String,JsonNode> |
StringJsonNode.asObject() |
Map<String,JsonNode> |
ObjectJsonNode.asObject() |
Map<String,JsonNode> |
NumberJsonNode.asObject() |
Map<String,JsonNode> |
NullJsonNode.asObject() |
Map<String,JsonNode> |
EmbeddedObjectJsonNode.asObject() |
Map<String,JsonNode> |
BooleanJsonNode.asObject() |
Map<String,JsonNode> |
ArrayJsonNode.asObject() |
Optional<JsonNode> |
ObjectJsonNode.field(String child) |
Optional<JsonNode> |
ArrayJsonNode.index(int child) |
Constructor and Description |
---|
ArrayJsonNode(List<JsonNode> value) |
ObjectJsonNode(Map<String,JsonNode> value) |
Copyright © 2023. All rights reserved.