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

yaml: Support multi document decode/encode #1088

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wader
Copy link
Owner

@wader wader commented Feb 27, 2025

Related to #1087

@wader wader force-pushed the yaml-multi-document branch from 40afc7b to d374ff7 Compare February 28, 2025 09:50
@wader wader changed the title yaml: Support multi document decode yaml: Support multi document decode/encode Feb 28, 2025
@visualphoenix
Copy link

you might consider https://github.com/kubernetes/apimachinery/tree/master/pkg/util/yaml or https://github.com/kubernetes-sigs/yaml instead of gopkg.in/yaml.v3 which (links to https://github.com/go-yaml/yaml/tree/v3.0.1 ) hasnt been updated in 3 years

@wader
Copy link
Owner Author

wader commented Mar 12, 2025

you might consider https://github.com/kubernetes/apimachinery/tree/master/pkg/util/yaml

Seem to be decode only?

or https://github.com/kubernetes-sigs/yaml

This one might be interesting. Looks like a wrapper and fork of go-yaml?

instead of gopkg.in/yaml.v3 which (links to https://github.com/go-yaml/yaml/tree/v3.0.1 ) hasnt been updated in 3 years

Is there some particular bug or issue with the current yaml dependency? but yes if there is a more active yaml implementation it would be nice to switch

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

Successfully merging this pull request may close these issues.

2 participants