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#writeNumber(char[], int, int) method #587

Closed
vy opened this issue Dec 29, 2019 · 0 comments
Closed

Add JsonGenerator#writeNumber(char[], int, int) method #587

vy opened this issue Dec 29, 2019 · 0 comments
Milestone

Comments

@vy
Copy link
Contributor

vy commented Dec 29, 2019

As discussed in the relevant jackson-user thread, JsonGenerator#writeNumber() method lacks support for char[]. Introducing a JsonGenerator#writeNumber(char[] buffer, int offset, int length) will enable users to write numbers in their preferred format without incurring an extra allocation cost, e.g., as in JsonGenerator#writeNumber(String).

Note that #577 and #514 are relevant issues addressing a similar concern in broader sense.

@cowtowncoder cowtowncoder added this to the 2.11.0 milestone Jan 10, 2020
cowtowncoder pushed a commit that referenced this issue Jan 10, 2020
Fix #587 Add JsonGenerator#writeNumber(char[],int,int) methods, tests
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