*/
public static org.glassfish.jersey.jettison.JettisonMarshaller getJSONMarshaller(Marshaller marshaller) {
if (marshaller instanceof org.glassfish.jersey.jettison.JettisonMarshaller) {
return (org.glassfish.jersey.jettison.JettisonMarshaller) marshaller;
} else {
return new BaseJsonMarshaller(marshaller, JettisonConfig.DEFAULT);
}
}