Package | Description |
---|---|
io.vertx.core.json | |
io.vertx.core.json.jackson | |
io.vertx.core.spi.json | |
io.vertx.ext.web.validation |
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 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.
|
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.
|
Object |
JacksonCodec.fromBuffer(Buffer buf) |
<T> T |
JacksonCodec.fromBuffer(Buffer json,
Class<T> clazz) |
<T> T |
DatabindCodec.fromBuffer(Buffer buf,
Class<T> clazz) |
<T> T |
JacksonCodec.fromBuffer(Buffer buf,
TypeReference<T> typeRef) |
<T> T |
DatabindCodec.fromBuffer(Buffer buf,
TypeReference<T> typeRef) |
static <T> T |
JacksonCodec.fromParser(JsonParser parser,
Class<T> type) |
static <T> T |
DatabindCodec.fromParser(JsonParser parser,
Class<T> type) |
Object |
JacksonCodec.fromString(String str) |
<T> T |
JacksonCodec.fromString(String json,
Class<T> clazz) |
<T> T |
DatabindCodec.fromString(String str,
Class<T> clazz) |
<T> T |
JacksonCodec.fromString(String str,
TypeReference<T> typeRef) |
<T> T |
DatabindCodec.fromString(String str,
TypeReference<T> typeRef) |
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 . |
Modifier and Type | Method and Description |
---|---|
static BodyProcessorException |
BodyProcessorException.createParsingError(String contentType,
DecodeException cause) |
Copyright © 2021 Eclipse. All rights reserved.