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

Add JsonGenerator.canWriteFormattedNumbers() for introspection #290

Closed
cowtowncoder opened this issue May 25, 2016 · 0 comments
Closed

Add JsonGenerator.canWriteFormattedNumbers() for introspection #290

cowtowncoder opened this issue May 25, 2016 · 0 comments

Comments

@cowtowncoder
Copy link
Member

Since there is desire to allow serialization of formatted numbers, we need a way to distinguish cases where outputting will work. Generally this will be true for textual formats, and false for binary formats, but since this is quite specific usage let's add more specific accessor (as opposed to isTextual() or isBinary()).

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

1 participant