std.parseYaml processes "on" as a boolean
Open
- Dominant language
- Go
- Stars
- 1.8k
- Forks
- 263
- PR merge metrics
- No merged PRs in 30d
Description
I noticed this on go-jsonnet but couldn't replicate with the C or rust version:
```
➜ cat a.yaml
on: help
➜ jsonnet -e 'std.parseYaml(importstr "a.yaml")'
{
"true": "help"
}
➜ cjsonnet -e 'std.parseYaml(importstr "a.yaml")'
{
"on": "help"
}
➜ jrsonnet -e 'std.parseYaml(importstr "a.yaml")'
{
"on": "help"
}
```
Contributor guide
Assessment
This issue has not been assessed yet.