We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://play.golang.org/p/l3cZy3n9T62
package main import ( "fmt" "github.com/goccy/go-yaml" y "gopkg.in/yaml.v2" ) func main() { yml := ` - a: [2 , 2] b: [2 , 2] c: [2 , 2]` var d interface{} yaml.Unmarshal([]byte(yml), &d) fmt.Printf("%v\n%v\n", yml, d) y.Unmarshal([]byte(yml), &d) fmt.Printf("%v\n%v\n", yml, d) } - a: [2 , 2] b: [2 , 2] c: [2 , 2] [map[a:[2 2]]] - a: [2 , 2] b: [2 , 2] c: [2 , 2] [map[a:[2 2] b:[2 2] c:[2 2]]]
The text was updated successfully, but these errors were encountered:
I found this bug was due to inserting a tab character after the ] character. I'm going to fix this soon .
]
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
https://play.golang.org/p/l3cZy3n9T62
The text was updated successfully, but these errors were encountered: