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

17 lines
311 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 {
2016-10-08 16:38:27 +00:00
? !!str "name"
: !!str "Karl Koch",
? !!str "age"
: !nim:system:int32 "23"
},
!nim:custom:Person {
2016-10-08 16:38:27 +00:00
? !!str "name"
: !!str "Peter Pan",
? !!str "age"
: !nim:system:int32 "12"
}
]