public interface JaxbJsonMarshaller
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(Object jaxbBean)
Given a jaxbBean this method will return a JSON string.
|
String |
marshal(Object jaxbBean,
Class... jaxbClasses)
Deprecated.
since 1.1, use
marshal(Object) |
String marshal(Object jaxbBean) throws JsonMarshallingException
jaxbBean - the bean to be converted to JSONJsonMarshallingException - if any error occurs marshalling the JSON object@Deprecated String marshal(Object jaxbBean, Class... jaxbClasses) throws JAXBException
marshal(Object)jaxbBean - the bean to be converted to JSONjaxbClasses - the jaxb classes in use by the jaxb bean.JAXBException - if there's a problem marshalling the bean providedCopyright © 2017 Atlassian. All rights reserved.