Package | Description |
---|---|
io.vertx.core.buffer | |
io.vertx.core.json | |
io.vertx.core.parsetools |
Modifier and Type | Method and Description |
---|---|
JsonArray |
Buffer.toJsonArray()
Returns a Json array representation of the Buffer.
|
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonArray.add(int pos,
Object value)
Add an Object to the JSON array at given position
pos . |
JsonArray |
JsonArray.add(Object value)
Add an Object to the JSON array.
|
JsonArray |
JsonArray.addAll(JsonArray array)
Appends all of the elements in the specified array to the end of this JSON array.
|
JsonArray |
JsonArray.addNull()
Add a null value to the JSON array.
|
JsonArray |
JsonArray.clear()
Remove all entries from the JSON array
|
JsonArray |
JsonArray.copy()
Deep copy of the JSON array.
|
JsonArray |
JsonArray.copy(Function<Object,?> cloner)
Deep copy of the JSON array.
|
JsonArray |
JsonArray.getJsonArray(int pos)
Get the JsonArray at position
pos in the array. |
JsonArray |
JsonObject.getJsonArray(String key)
Get the JsonArray value with the specified key
|
JsonArray |
JsonObject.getJsonArray(String key,
JsonArray def)
Like
JsonObject.getJsonArray(String) but specifying a default value to return if there is no entry. |
static JsonArray |
JsonArray.of(Object... values)
Create a JsonArray containing an arbitrary number of values.
|
JsonArray |
JsonArray.set(int pos,
Object value)
Set an Object to the JSON array at position
pos . |
JsonArray |
JsonArray.setNull(int pos)
Set a null value to the JSON array at position
pos . |
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonArray.addAll(JsonArray array)
Appends all of the elements in the specified array to the end of this JSON array.
|
JsonArray |
JsonObject.getJsonArray(String key,
JsonArray def)
Like
JsonObject.getJsonArray(String) but specifying a default value to return if there is no entry. |
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonEvent.arrayValue() |
Copyright © 2023 Eclipse. All rights reserved.