public abstract class JSONBaseMarshaller<T> extends Object implements Marshaller<T>
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected Class<T> |
type |
| Constructor and Description |
|---|
JSONBaseMarshaller(Class<T> type) |
public Class<T> getType()
getType in interface Marshaller<T>public String marshal(T value) throws IOException
marshal in interface Marshaller<T>IOExceptionpublic T unmarshal(String marshalledValue) throws IOException
unmarshal in interface Marshaller<T>IOExceptionCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.