final class Target_io_vertx_core_json_Json extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
mapper |
static com.fasterxml.jackson.databind.ObjectMapper |
prettyMapper |
| Constructor and Description |
|---|
Target_io_vertx_core_json_Json() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
decodeValue(io.vertx.core.buffer.Buffer buf) |
static <T> T |
decodeValue(io.vertx.core.buffer.Buffer buf,
Class<T> clazz) |
static <T> T |
decodeValue(io.vertx.core.buffer.Buffer buf,
com.fasterxml.jackson.core.type.TypeReference<T> type) |
static Object |
decodeValue(String str) |
static <T> T |
decodeValue(String str,
Class<T> clazz) |
static <T> T |
decodeValue(String str,
com.fasterxml.jackson.core.type.TypeReference<T> type) |
static String |
encode(Object obj) |
static String |
encodePrettily(Object obj) |
static io.vertx.core.buffer.Buffer |
encodeToBuffer(Object obj) |
public static com.fasterxml.jackson.databind.ObjectMapper mapper
public static com.fasterxml.jackson.databind.ObjectMapper prettyMapper
public static String encode(Object obj) throws io.vertx.core.json.EncodeException
io.vertx.core.json.EncodeExceptionpublic static io.vertx.core.buffer.Buffer encodeToBuffer(Object obj) throws io.vertx.core.json.EncodeException
io.vertx.core.json.EncodeExceptionpublic static String encodePrettily(Object obj) throws io.vertx.core.json.EncodeException
io.vertx.core.json.EncodeExceptionpublic static <T> T decodeValue(String str, Class<T> clazz) throws io.vertx.core.json.DecodeException
io.vertx.core.json.DecodeExceptionpublic static Object decodeValue(String str) throws io.vertx.core.json.DecodeException
io.vertx.core.json.DecodeExceptionpublic static <T> T decodeValue(String str, com.fasterxml.jackson.core.type.TypeReference<T> type) throws io.vertx.core.json.DecodeException
io.vertx.core.json.DecodeExceptionpublic static Object decodeValue(io.vertx.core.buffer.Buffer buf) throws io.vertx.core.json.DecodeException
io.vertx.core.json.DecodeExceptionpublic static <T> T decodeValue(io.vertx.core.buffer.Buffer buf,
com.fasterxml.jackson.core.type.TypeReference<T> type)
throws io.vertx.core.json.DecodeException
io.vertx.core.json.DecodeExceptionpublic static <T> T decodeValue(io.vertx.core.buffer.Buffer buf,
Class<T> clazz)
throws io.vertx.core.json.DecodeException
io.vertx.core.json.DecodeExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.