2016-10-08 16:38:27 +00:00
|
|
|
%YAML 1.1
|
2016-10-10 18:16:54 +00:00
|
|
|
%TAG !n! tag:nimyaml.org,2016:
|
2016-10-08 21:35:33 +00:00
|
|
|
---
|
2016-10-10 18:16:54 +00:00
|
|
|
!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",
|
2016-10-10 18:16:54 +00:00
|
|
|
? !n!field "age"
|
|
|
|
: !n!system:int32 "23"
|
2016-10-08 21:35:33 +00:00
|
|
|
},
|
2016-10-10 18:16:54 +00:00
|
|
|
!n!custom:Person {
|
|
|
|
? !n!field "name"
|
2016-10-08 16:38:27 +00:00
|
|
|
: !!str "Peter Pan",
|
2016-10-10 18:16:54 +00:00
|
|
|
? !n!field "age"
|
|
|
|
: !n!system:int32 "12"
|
2016-10-08 21:35:33 +00:00
|
|
|
}
|
|
|
|
]
|