Uses of Interface
com.azure.core.experimental.serializer.JsonNode
-
Packages that use JsonNode Package Description com.azure.core.experimental.serializer Package containing experimental serializer interfaces. -
-
Uses of JsonNode in com.azure.core.experimental.serializer
Subinterfaces of JsonNode in com.azure.core.experimental.serializer Modifier and Type Interface Description interface
JsonArray
Interface that represents a JSON array.interface
JsonNull
Interface that represents a JSON null.interface
JsonObject
Interface that represents a JSON object.interface
JsonPrimitive
Interface that represents a JSON value.Methods in com.azure.core.experimental.serializer that return JsonNode Modifier and Type Method Description JsonNode
JsonArray. get(int index)
Gets theJsonNode
at the given index of the array.JsonNode
JsonObject. get(String name)
Gets theJsonNode
field with the specified name in the object.JsonNode
JsonArray. remove(int index)
Removes theJsonNode
at the specified index of the array.JsonNode
JsonObject. remove(String name)
Removes theJsonNode
with the specified name from the object.JsonNode
JsonArray. set(int index, JsonNode jsonNode)
Replaces theJsonNode
at the specified index with a new node.JsonNode
JsonObject. set(String name, JsonNode jsonNode)
Sets theJsonNode
field with the specified name with a new node value.JsonNode
JsonSerializer. toTree(InputStream stream)
Reads a JSON stream into its JSON tree representation.JsonNode
JsonSerializer. toTree(Object value)
Writes an object into its JSON tree representation.Methods in com.azure.core.experimental.serializer that return types with arguments of type JsonNode Modifier and Type Method Description Stream<JsonNode>
JsonArray. elements()
Stream<Map.Entry<String,JsonNode>>
JsonObject. fields()
Mono<JsonNode>
JsonSerializer. toTreeAsync(InputStream stream)
Reads a JSON stream into its JSON tree representation.Mono<JsonNode>
JsonSerializer. toTreeAsync(Object value)
Writes an object into its JSON tree representation.Methods in com.azure.core.experimental.serializer with parameters of type JsonNode Modifier and Type Method Description JsonArray
JsonArray. add(JsonNode jsonNode)
Adds aJsonNode
to the end of this array.<T> T
JsonSerializer. deserializeTree(JsonNode jsonNode, TypeReference<T> typeReference)
Reads a JSON tree into its object representation.<T> Mono<T>
JsonSerializer. deserializeTreeAsync(JsonNode jsonNode, TypeReference<T> typeReference)
Reads a JSON tree into its object representation.JsonObject
JsonObject. put(String name, JsonNode jsonNode)
Puts aJsonNode
field with the specified name into the object.void
JsonSerializer. serializeTree(OutputStream stream, JsonNode jsonNode)
Writes a JSON tree into a stream.Mono<Void>
JsonSerializer. serializeTreeAsync(OutputStream stream, JsonNode jsonNode)
Writes a JSON tree into a stream.JsonNode
JsonArray. set(int index, JsonNode jsonNode)
Replaces theJsonNode
at the specified index with a new node.JsonNode
JsonObject. set(String name, JsonNode jsonNode)
Sets theJsonNode
field with the specified name with a new node value.
-