mirror of
https://github.com/status-im/NimYAML.git
synced 2025-01-29 12:35:10 +00:00
18fc8ba3f5
* removed default value objects, use Nim2 default vaules for fields instead. * moved dump procs to yaml/dumping and introduced Dumper * modified serialization procs to use ctx as first argument, so that prefix calls can be used * changed defaults for presentation to be more like other YAML implementations, e.g. no directives by default. * Removed deprecated procs in DOM API * Removed PresentationStyle – use the setXStyle procs of Dumper instead. * Fixed some warnings emerging from transitioning to Nim2
6 lines
169 B
YAML
6 lines
169 B
YAML
%TAG !n! tag:nimyaml.org,2016:
|
|
--- !Mob
|
|
!n!field level: !n!system:int32 42
|
|
!n!field experience: !n!system:int32 1800
|
|
!n!field drops: !Drops [!!str Sword of Mob Slaying]
|