goccy / go-yaml

YAML support for the Go language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-line strings don't work when there are curly braces

gbrlsnchs opened this issue · comments

Whenever there are curly braces inside multi-line strings, yaml.Unmarshal errors (it seems it tries to convert the value to a map instead).

Playground example: https://go.dev/play/p/bAvxIj1l4eS