public class DefaultJaxbJsonMarshaller extends Object implements JaxbJsonMarshaller
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultJaxbJsonMarshaller.Builder |
| Constructor and Description |
|---|
DefaultJaxbJsonMarshaller()
Deprecated.
since 2.9.2. Use
builder() |
DefaultJaxbJsonMarshaller(boolean prettyPrint)
Deprecated.
since 2.9.2. Use
builder() |
@Deprecated public DefaultJaxbJsonMarshaller()
builder()@Deprecated public DefaultJaxbJsonMarshaller(boolean prettyPrint)
builder()public String marshal(Object jaxbBean)
JaxbJsonMarshallermarshal in interface JaxbJsonMarshallerjaxbBean - the bean to be converted to JSON@Deprecated public String marshal(Object jaxbBean, Class... jaxbClasses) throws javax.xml.bind.JAXBException
JaxbJsonMarshallermarshal in interface JaxbJsonMarshallerjaxbBean - the bean to be converted to JSONjaxbClasses - the jaxb classes in use by the jaxb bean.javax.xml.bind.JAXBException - if there's a problem marshalling the bean providedpublic static DefaultJaxbJsonMarshaller.Builder builder()
Copyright © 2014 Atlassian. All rights reserved.