public class JacksonObjectMapper extends Object implements ObjectMapperSPI
| Constructor and Description |
|---|
JacksonObjectMapper() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
readValue(byte[] src,
Class<T> klass) |
Map<String,String> |
readValue(String s) |
<T> T |
readValue(String s,
Class<T> klass) |
<T> byte[] |
writeValueAsBytes(T t) |
<T> String |
writeValueAsString(T t) |
public <T> T readValue(byte[] src,
Class<T> klass)
throws IOException
readValue in interface ObjectMapperSPIIOExceptionpublic <T> T readValue(String s, Class<T> klass) throws IOException
readValue in interface ObjectMapperSPIIOExceptionpublic Map<String,String> readValue(String s) throws IOException
readValue in interface ObjectMapperSPIIOExceptionpublic <T> byte[] writeValueAsBytes(T t)
throws IOException
writeValueAsBytes in interface ObjectMapperSPIIOExceptionpublic <T> String writeValueAsString(T t) throws IOException
writeValueAsString in interface ObjectMapperSPIIOExceptionCopyright © 2020. All rights reserved.