Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Conversation

@ndeloof
Copy link

@ndeloof ndeloof commented Sep 26, 2023

this offers user ability to provide yaml document to be decoded into go structs as an abstract yaml.Node producer by encapsulating the io.Reader-based parser behind a Parser interface.

closes #993

@ndeloof
Copy link
Author

ndeloof commented Sep 29, 2023

@niemeyer what do you think about this approach, does it sound right to better separate the parser and decoder into reusable components?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

how to decode a yaml.Node document ?

1 participant