NimYAML/doc/snippets/quickstart/02/01-out.yaml

18 lines
361 B
YAML
Raw Normal View History

2016-10-08 16:38:27 +00:00
%YAML 1.1
%TAG !n! tag:nimyaml.org,2016:
---
!n!system:seq(tag:nimyaml.org;2016:custom:Person) [
!n!custom:Person {
? !n!field "name"
2016-10-08 16:38:27 +00:00
: !!str "Karl Koch",
? !n!field "age"
: !n!system:int32 "23"
},
!n!custom:Person {
? !n!field "name"
2016-10-08 16:38:27 +00:00
: !!str "Peter Pan",
? !n!field "age"
: !n!system:int32 "12"
}
]