public class JacksonObjectMapper extends Object implements JsonMapper
| Constructor and Description |
|---|
JacksonObjectMapper() |
JacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convertValue(Object value,
Class<T> klass) |
com.fasterxml.jackson.databind.ObjectMapper |
copyObjectMapper() |
<T> T |
readValue(InputStream inputStream,
Class<T> klass) |
<T> T |
readValue(String s,
Class<T> klass) |
String |
writeValueAsString(Object value) |
public JacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public JacksonObjectMapper()
public String writeValueAsString(Object value)
writeValueAsString in interface JsonMapperpublic <T> T readValue(InputStream inputStream, Class<T> klass)
readValue in interface JsonMapperpublic <T> T readValue(String s, Class<T> klass)
readValue in interface JsonMapperpublic <T> T convertValue(Object value, Class<T> klass)
convertValue in interface JsonMapperpublic com.fasterxml.jackson.databind.ObjectMapper copyObjectMapper()
Copyright © 2020. All rights reserved.