highsource / highsource/jsonix

JAXB_ENCODING and JAXB_FORMATTED_OUTPUT

Open
#164 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
369
Forks
85
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.