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

Support decoding Binary, Octal and Hex numbers as integers #233

Closed
cowtowncoder opened this issue Nov 23, 2020 · 1 comment
Closed

Support decoding Binary, Octal and Hex numbers as integers #233

cowtowncoder opened this issue Nov 23, 2020 · 1 comment
Labels
yaml Issue related to YAML format backend
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: support for Hex numbers covered by #71 too, but this is the main catch-all issue)

Jackson 2.11 and before do not support alternative integer representations than standard decimal -- and actually incorrectly decode Octal ones. These representations should be supported.

NOTE: this will leave one rarely used type -- 60-based numbers -- unsupported. Reason for this, at least initially, is to avoid likely issues with backwards compatibility: these numbers are likely to conflict with notations used for ethernet (MAC) addresses, time values. Support may be considered at a later point.

@cowtowncoder cowtowncoder added 2.12 yaml Issue related to YAML format backend labels Nov 23, 2020
@cowtowncoder cowtowncoder added this to the 2.12.0 milestone Nov 23, 2020
@cowtowncoder
Copy link
Member Author

Also: might as well support underscores while doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
yaml Issue related to YAML format backend
Projects
None yet
Development

No branches or pull requests

1 participant