ghodss / yaml

A better way to marshal and unmarshal YAML in Golang
Other
1.04k stars 228 forks source link

Support streaming decoder #31

Open krzyzacy opened 6 years ago

krzyzacy commented 6 years ago

aka https://github.com/go-yaml/yaml/pull/301

luxas commented 6 years ago

Yeah, this would be nice to have :+1:

krzyzacy commented 6 years ago

@luxas in the meantime we already have https://github.com/kubernetes/apimachinery/blob/master/pkg/util/yaml/decoder.go

luxas commented 6 years ago

@krzyzacy Yup, saw that from your other comments in the linked thread and started using it, so I'm good at the moment as well. But maybe this anyway should be upstreamed...