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(Boolean value)
Add a Boolean to the JSON array.
|
JsonArray |
JsonArray.add(byte[] value)
Add a binary value to the JSON array.
|
JsonArray |
JsonArray.add(CharSequence value)
Add a CharSequence to the JSON array.
|
JsonArray |
JsonArray.add(Double value)
Add a Double to the JSON array.
|
JsonArray |
JsonArray.add(Enum value)
Add an enum to the JSON array.
|
JsonArray |
JsonArray.add(Float value)
Add a Float to the JSON array.
|
JsonArray |
JsonArray.add(Instant value)
Add a Instant value to the JSON array.
|
JsonArray |
JsonArray.add(Integer value)
Add an Integer to the JSON array.
|
JsonArray |
JsonArray.add(JsonArray value)
Add another JSON array to the JSON array.
|
JsonArray |
JsonArray.add(JsonObject value)
Add a JSON object to the JSON array.
|
JsonArray |
JsonArray.add(Long value)
Add a Long to the JSON array.
|
JsonArray |
JsonArray.add(Object value)
Add an Object to the JSON array.
|
JsonArray |
JsonArray.add(String value)
Add a String 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()
Make a 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. |
JsonArray |
JsonArray.set(int pos,
Boolean value)
Set a Boolean to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
byte[] value)
Set a binary value to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
CharSequence value)
Set a CharSequence to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
Double value)
Set a Double to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
Enum value)
Set an enum to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
Float value)
Set a Float to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
Instant value)
Set a Instant value to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
Integer value)
Set an Integer to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
JsonArray value)
Set another JSON array to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
JsonObject value)
Set a JSON object to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
Long value)
Set a Long to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
Object value)
Set an Object to the JSON array at position
pos . |
JsonArray |
JsonArray.set(int pos,
String value)
Set a String 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.add(JsonArray value)
Add another JSON array 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 |
JsonObject.getJsonArray(String key,
JsonArray def)
Like
JsonObject.getJsonArray(String) but specifying a default value to return if there is no entry. |
JsonObject |
JsonObject.put(String key,
JsonArray value)
Put a JSON array into the JSON object with the specified key.
|
JsonArray |
JsonArray.set(int pos,
JsonArray value)
Set another JSON array to the JSON array at position
pos . |
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonEvent.arrayValue() |
Copyright © 2020 Eclipse. All rights reserved.