public class JacksonMapMarshaller extends Object implements MapMarshaller
| Constructor and Description |
|---|
JacksonMapMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.jackson.map.ObjectMapper |
getObjectMapper() |
boolean |
isPrettyPrint() |
String |
marshal(Map map) |
void |
setObjectMapper(org.codehaus.jackson.map.ObjectMapper objectMapper) |
void |
setPrettyPrint(boolean prettyPrint) |
Map |
unmarshal(String marshalled) |
public org.codehaus.jackson.map.ObjectMapper getObjectMapper()
public void setObjectMapper(org.codehaus.jackson.map.ObjectMapper objectMapper)
public boolean isPrettyPrint()
public void setPrettyPrint(boolean prettyPrint)
public String marshal(Map map)
marshal in interface MapMarshallerpublic Map unmarshal(String marshalled)
unmarshal in interface MapMarshallerCopyright © 2012–2014. All rights reserved.