public class JsonUtils extends Object
| 构造器和说明 |
|---|
JsonUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
readValue(byte[] bytes,
Class<T> clazz) |
static <T> T |
readValue(byte[] bytes,
com.fasterxml.jackson.databind.JavaType javaType) |
static <T> T |
readValue(String json,
Class<T> clazz) |
static <T> T |
readValue(String json,
com.fasterxml.jackson.core.type.TypeReference<T> typeReference) |
static String |
toJsonString(Object target) |
static String |
toJsonStringWithoutLog(Object target) |
Copyright © 2020–2021. All rights reserved.