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

Streaming support #50

Open
liveforeverx opened this issue Nov 3, 2015 · 5 comments
Open

Streaming support #50

liveforeverx opened this issue Nov 3, 2015 · 5 comments

Comments

@liveforeverx
Copy link

Did you plan to add streaming support to poison?

@devinus
Copy link
Owner

devinus commented Dec 10, 2015

Yes.

@teamon
Copy link

teamon commented Sep 1, 2016

Just curious @liveforeverx, what more do you need besides:

stream |> Stream.map(&Poison.decode!/1)

? JSON stream is usually one document per line (with all "\n" escaped)

@ku1ik
Copy link

ku1ik commented Jul 20, 2017

@liveforeverx is this about streaming parsing?

@isaacsanders
Copy link

Another way to interpret this is streaming a large dataset into the encoder and emitting pieces as they are available, as iodata.

@ku1ik
Copy link

ku1ik commented Mar 3, 2018

Yeah, streamed encoding and streamed decoding are two different things, and both would be useful in specific situations.

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

5 participants