public abstract class JacksonHelper extends Object
| Constructor and Description |
|---|
JacksonHelper() |
| Modifier and Type | Method and Description |
|---|---|
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 © 2018. All rights reserved.