jsonix icon indicating copy to clipboard operation
jsonix copied to clipboard

JAXB_ENCODING and JAXB_FORMATTED_OUTPUT

Open TheSneak opened this issue 8 years ago • 1 comments
trafficstars

Question:

In Java I would set these properties on the marshaller like this:

        Marshaller marshaller = context.createMarshaller();
        marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8");
        marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
        marshaller.setProperty(Marshaller.JAXB_SCHEMA_LOCATION, "http://www.sample.net/SAMPLE http://www.sample.net/v1.2/SAMPLE2v1_2.xsd");

How would I set these properties or get this behavior with jsonix?

Thank you

TheSneak avatar Mar 23 '17 05:03 TheSneak

Not possible at the moment.

highsource avatar Jun 27 '17 20:06 highsource