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 generator#writeUTF8String(InputStream) #27

Closed
kimchy opened this issue Aug 9, 2012 · 3 comments
Closed

Add generator#writeUTF8String(InputStream) #27

kimchy opened this issue Aug 9, 2012 · 3 comments

Comments

@kimchy
Copy link

kimchy commented Aug 9, 2012

It would be great to have the option to add the ability to write a UTF string from an InputStream, not just byte array.

@cowtowncoder
Copy link
Member

So this should be similar to 'writeBinary(InputStream)' that is being added in 2.1?

Would this be to produce a String value (i.e. surrounded in quotes), or raw inclusion?

@cowtowncoder
Copy link
Member

I guess (answering my own question) it should be including Strings for JSON and other formats that need it, but not elsewhere (Smile, XML).
And anything that would be 'raw' output should be, well, called 'writeRaw()'.
So I think I understand it.

It is likely that this will have to wait 2.2, since 2.1 is being finalized.

@cowtowncoder
Copy link
Member

No current plans to add this, closing.

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