Package | Description |
---|---|
io.vertx.core.json | |
io.vertx.core.json.jackson | |
io.vertx.core.spi.json |
Modifier and Type | Method and Description |
---|---|
static Object |
Json.decodeValue(Buffer buf)
Decode a given JSON buffer.
|
static <T> T |
Json.decodeValue(Buffer buf,
Class<T> clazz)
Decode a given JSON buffer to a POJO of the given class type.
|
static <T> T |
Json.decodeValue(Buffer buf,
TypeReference<T> type)
Deprecated.
Instead use
JacksonCodec.decodeValue(Buffer, TypeReference) |
static Object |
Json.decodeValue(String str)
Decode a given JSON string.
|
static <T> T |
Json.decodeValue(String str,
Class<T> clazz)
Decode a given JSON string to a POJO of the given class type.
|
static <T> T |
Json.decodeValue(String str,
TypeReference<T> type)
Deprecated.
Instead use
JacksonCodec.decodeValue(String, TypeReference) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
JacksonCodec.decodeValue(Buffer buf,
TypeReference<T> type)
Decode a given JSON buffer to a POJO of the given class type.
|
static <T> T |
JacksonCodec.decodeValue(String str,
TypeReference<T> type)
Decode a given JSON string to a POJO of the given type.
|
<T> T |
JacksonCodec.fromBuffer(Buffer buf,
Class<T> clazz) |
static <T> T |
JacksonCodec.fromBuffer(Buffer buf,
TypeReference<T> type) |
<T> T |
JacksonCodec.fromString(String str,
Class<T> clazz) |
static <T> T |
JacksonCodec.fromString(String str,
TypeReference<T> type) |
Modifier and Type | Method and Description |
---|---|
<T> T |
JsonCodec.fromBuffer(Buffer json,
Class<T> clazz)
Like
JsonCodec.fromString(String, Class) but with a json Buffer |
<T> T |
JsonCodec.fromString(String json,
Class<T> clazz)
Decode the provide
json string to an object extending clazz . |
Copyright © 2020 Eclipse. All rights reserved.