Felix Krause 29352fa4fe Use global tag handle for NimYAML
* NimYAML now uses the tag prefix tag:nimyaml.org,2016:
 * That tag handle is shortened to !n! when presenting
 * Also fixed some minor bugs dealing with tag handles
2016-10-10 20:16:54 +02:00

18 lines
361 B
YAML

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