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]");
2,3,YAML:−null,5,YAML:−null,7
Generate a YAML string containing null data to signify missing information.
Beowulf := table([ "title" = "Beowulf", "language" = "Anglo-Saxon", "author" = YAML:-null ]);
Beowulf≔table⁡author=YAML:−null,language=Anglo-Saxon,title=Beowulf
YAML:-ToString( Beowulf );
--- author: null language: "Anglo-Saxon" title: 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
What kind of issue would you like to report? (Optional)