public class JacksonUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
toJavaBean(String json,
Class<T> clzz) |
static <T> T |
toJavaBean(String json,
ParameterizedType parameterizedType) |
static String |
toJson(Object object) |
static <T> List<T> |
toList(String json,
Class<T> clzz) |
public static String toJson(Object object) throws ApiException
ApiExceptionpublic static <T> T toJavaBean(String json, ParameterizedType parameterizedType) throws ApiException
ApiExceptionpublic static <T> T toJavaBean(String json, Class<T> clzz) throws ApiException
ApiExceptionpublic static <T> List<T> toList(String json, Class<T> clzz) throws ApiException
ApiExceptionCopyright © 2025. All rights reserved.