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

Question: Parse Line Numbers while doing an Unmarshal #673

Open
alankpatel opened this issue Mar 3, 2025 · 0 comments
Open

Question: Parse Line Numbers while doing an Unmarshal #673

alankpatel opened this issue Mar 3, 2025 · 0 comments

Comments

@alankpatel
Copy link

Hi,

Does this library support getting line numbers while unmarshalling a yaml file?
Example from an older go yaml parse that allows you to store the line number while parsing https://pkg.go.dev/gopkg.in/yaml.v3#Node
a stackoverflow example of it as well: https://stackoverflow.com/questions/66525221/parsing-yaml-and-return-with-line-number

Thanks

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

1 participant