Sorry, forgot the output:
On s390x:
390x:~$ go build example.go
ubuntu@s390x:~$ ./example
2020/06/16 19:02:53 error: yaml: unmarshal errors:
line 4: cannot unmarshal !!float `1.0` into int
On amd64:
andreas@nsnx:~$ go build example.go
andreas@nsnx:~$ ./example
--- t:
{Easy! {1 [3 4]}}
Sorry, forgot the output:
On s390x:
390x:~$ go build example.go
ubuntu@s390x:~$ ./example
2020/06/16 19:02:53 error: yaml: unmarshal errors:
line 4: cannot unmarshal !!float `1.0` into int
On amd64:
andreas@nsnx:~$ go build example.go
andreas@nsnx:~$ ./example
--- t:
{Easy! {1 [3 4]}}
--- t dump:
a: Easy!
b:
c: 1
d: [3, 4]
--- m:
map[a:Easy! b:map[c:1 d:[3 4]]]
--- m dump:
a: Easy!
b:
c: 1
d:
- 3
- 4