public class JacksonMapper extends Object implements JsonMapper
| Modifier and Type | Class and Description |
|---|---|
static interface |
JacksonMapper.ResourceMix |
static interface |
JacksonMapper.ResourceMixin |
static interface |
JacksonMapper.SchemaCollectionMixin |
static interface |
JacksonMapper.SchemaImplMixin |
| Constructor and Description |
|---|
JacksonMapper() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convertValue(Object fromValue,
Class<T> toValueType) |
void |
init() |
boolean |
isEscapeForwardSlashes() |
Object |
readValue(byte[] content) |
<T> T |
readValue(byte[] content,
Class<T> type) |
void |
setEscapeForwardSlashes(boolean escapeForwardSlashes) |
void |
writeValue(OutputStream os,
Object object) |
@PostConstruct public void init()
public <T> T readValue(byte[] content,
Class<T> type)
throws IOException
readValue in interface JsonMapperIOExceptionpublic Object readValue(byte[] content) throws IOException
readValue in interface JsonMapperIOExceptionpublic void writeValue(OutputStream os, Object object) throws IOException
writeValue in interface JsonMapperIOExceptionpublic <T> T convertValue(Object fromValue, Class<T> toValueType)
convertValue in interface JsonMapperpublic boolean isEscapeForwardSlashes()
public void setEscapeForwardSlashes(boolean escapeForwardSlashes)
Copyright © 2014. All rights reserved.