Unordered Sets
set1: !!set
? one
? two
set2: !!set {'one', "two"}
#â Equivalent JSON
{
"set1": {"one": null, "two": null},
"set2": {"one": null, "two": null}
}
Sets are represented as a Mapping where each key is associated with a null value
Comments