Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WRITE_BIGDECIMAL_AS_PLAIN Not Used When Writing Pretty #336

Closed
kevindaub opened this issue Apr 8, 2019 · 0 comments
Closed

WRITE_BIGDECIMAL_AS_PLAIN Not Used When Writing Pretty #336

kevindaub opened this issue Apr 8, 2019 · 0 comments
Milestone

Comments

@kevindaub
Copy link

When a xml pretty printer is used, the flag of WRITE_BIGDECIMAL_AS_PLAIN is not taken into account for that if statement.

Is there a reason for this? If not, I can see if I can create a PR to resolve.

https://github.com/FasterXML/jackson-dataformat-xml/blob/master/src/main/java/com/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator.java#L1126

kevindaub added a commit to kevindaub/jackson-dataformat-xml that referenced this issue Apr 8, 2019
Fixed usage of WRITE_BIGDECIMAL_AS_PLAIN when XML pretty printer is
configured.
@cowtowncoder cowtowncoder added this to the 2.10.0 milestone May 23, 2019
cowtowncoder added a commit that referenced this issue May 23, 2019
perilbrain pushed a commit to perilbrain/jackson-dataformat-xml that referenced this issue Aug 17, 2019
- Accepts new annotation for collection type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants