public class JSONUtils extends Object
| Constructor and Description |
|---|
JSONUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
deserializeObject(String s,
Class<?> clazz) |
static <T> T |
deserializeObject(String s,
com.fasterxml.jackson.core.type.TypeReference<T> typeReference) |
static String |
serializeObject(Object o) |
public static String serializeObject(Object o) throws IOException
IOExceptionpublic static Object deserializeObject(String s, Class<?> clazz) throws IOException
IOExceptionpublic static <T> T deserializeObject(String s, com.fasterxml.jackson.core.type.TypeReference<T> typeReference) throws IOException
IOExceptionCopyright © 2018–2020 Alibaba Group. All rights reserved.