YAML
null
Empty value from YAML data
Description
Examples
Compatibility
The YAML format contains a value null to represent missing data. The YAML:-null symbol in Maple is used to represent YAML null symbols after import into Maple.
The commands YAML:-ParseString and YAML:-ParseFile may produce output which uses YAML:-null.
The YAML:-ToString command recognizes YAML:-null and translates it to null in YAML.
Parse a YAML string containing null data.
YAML:-ParseString("[2,3,null,5,null,7]");
Generate a YAML string containing null data to signify missing information.
Beowulf := table([ "title" = "Beowulf", "language" = "Anglo-Saxon", "author" = YAML:-null ]);
YAML:-ToString( Beowulf );
The YAML[null] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
See Also
NULL
Download Help Document