public class JacksonObjectMapperUtils extends Object
| Constructor and Description |
|---|
JacksonObjectMapperUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertToJson(Object object) |
static <U> U |
convertToObject(Class<U> klass,
String json) |
static com.fasterxml.jackson.databind.ObjectMapper |
getMapper() |
static com.fasterxml.jackson.databind.ObjectMapper |
setJacksonMapperConfig(com.fasterxml.jackson.databind.ObjectMapper mapper) |
public static com.fasterxml.jackson.databind.ObjectMapper setJacksonMapperConfig(com.fasterxml.jackson.databind.ObjectMapper mapper)
public static com.fasterxml.jackson.databind.ObjectMapper getMapper()
public static <U> U convertToObject(Class<U> klass, String json) throws OpenRtbConverterException
OpenRtbConverterExceptionpublic static String convertToJson(Object object) throws OpenRtbConverterException
OpenRtbConverterExceptionCopyright © 2019. All rights reserved.