*/
public static JSONMarshaller getJSONMarshaller(Marshaller marshaller, JAXBContext jaxbContext) {
if (marshaller instanceof JSONMarshaller) {
return (JSONMarshaller) marshaller;
} else {
return new BaseJSONMarshaller(marshaller, jaxbContext, JSONConfiguration.DEFAULT);
}
}