apache / apache/openwhisk-wskdeploy

go-yaml/yaml or gopkg.in/yaml.v2 provides the incorrect line number of invalid keys in YAML files

Open
#472 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.