public abstract class JacksonHelper extends Object
| 构造器和说明 |
|---|
JacksonHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
convertJsonByClass(String json,
Class<T> clazz) |
static String |
getJsonString(Object o) |
static com.fasterxml.jackson.databind.ObjectMapper |
newConfiguredMapper() |
static com.fasterxml.jackson.databind.ObjectMapper |
newMapper() |
public static <T> T convertJsonByClass(String json, Class<T> clazz) throws IOException
IOExceptionpublic static com.fasterxml.jackson.databind.ObjectMapper newConfiguredMapper()
public static com.fasterxml.jackson.databind.ObjectMapper newMapper()
Copyright © 2017. All rights reserved.