Package | Description |
---|---|
io.vertx.core.buffer |
== Buffers
:toc: left
Most data is shuffled around inside Vert.x using buffers.
|
io.vertx.core.json | |
io.vertx.core.parsetools |
== Record Parser
The record parser allows you to easily parse protocols which are delimited by a sequence of bytes, or fixed
size records.
|
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. |
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.
|
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonEvent.arrayValue() |
Copyright © 2018 Eclipse. All rights reserved.