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

16 lines
313 B
YAML
Raw Normal View History

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