apache / apache/openwhisk-wskdeploy
go-yaml/yaml or gopkg.in/yaml.v2 provides the incorrect line number of invalid keys in YAML files
Open
design needed
enhancement
priority: low
- Dominant language
- Go
- Stars
- 75
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
It is painful to use this gopkg.in/yaml.v2 package to parse yaml files, since it provides the line numbers where there are errors in yaml files, but with wrong ones.
Shall we develop our own way to parse the yaml files in order to get the line numbers?
I have not found any other yaml parsers more effective than gopkg.in/yaml.v2.
Contributor guide
Assessment
This issue has not been assessed yet.