public class JacksonMapMarshaller extends Object implements MapMarshaller
Constructor and Description |
---|
JacksonMapMarshaller() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
boolean |
isPrettyPrint() |
void |
marshal(OutputStream out,
Map map) |
void |
setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
void |
setPrettyPrint(boolean prettyPrint) |
Map<String,Object> |
unmarshal(InputStream marshalled,
Map<String,String> linkMap) |
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public boolean isPrettyPrint()
public void setPrettyPrint(boolean prettyPrint)
public void marshal(OutputStream out, Map map)
marshal
in interface MapMarshaller
public Map<String,Object> unmarshal(InputStream marshalled, Map<String,String> linkMap)
unmarshal
in interface MapMarshaller
Copyright © 2017–2023 Okta. All rights reserved.