-
Notifications
You must be signed in to change notification settings - Fork 1k
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 decoder #4
Comments
This should also consider streams with multiple documents. |
+1 |
There is a PR #163 for this issue, but got stuck on CLA |
#288 Workaround Encoder/Decoder |
Fixed by #301 |
laverya
pushed a commit
to laverya/yaml
that referenced
this issue
Sep 4, 2019
…ent-panic Fix top level comment panic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice to have a
Decoder.Decode
likeencoding/json
for processing streams. I basically want to do:Instead of:
This makes it nicer for decoding
yaml
documents fromio.Reader
s without having to read everything into a[]byte
first.The text was updated successfully, but these errors were encountered: