Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (29 sloc) 528 Bytes
=== Spec Example 2.25. Unordered Sets
--- from: http://www.yaml.org/spec/1.2/spec.html#id2761758
--- tags: spec mapping
--- in-yaml(<)
# Sets are represented as a
# Mapping where each key is
# associated with a null value
--- !!set
? Mark McGwire
? Sammy Sosa
? Ken Griff
--- out-yaml(<)
--- !!set
Mark McGwire:
Sammy Sosa:
Ken Griff:
--- test-event
+STR
+DOC ---
+MAP <tag:yaml.org,2002:set>
=VAL :Mark McGwire
=VAL :
=VAL :Sammy Sosa
=VAL :
=VAL :Ken Griff
=VAL :
-MAP
-DOC
-STR