YAML
Tools for parsing and generating data in YAML format
Calling Sequence
Description
Accessing YAML Package Commands
List of YAML Package Commands
Examples
Compatibility
YAML:-command(arguments)
command(arguments)
YAML (YAML Ain't Markup Language) is a lightweight data-interchange format.
The YAML package is a collection of commands for parsing YAML data into Maple expressions, and for encoding Maple expressions into YAML format.
Each command in the YAML package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
The long form, YAML:-command, is always available. The short form can be used after loading the package.
The following is a list of commands available in the YAML package.
null
ParseFile
ParseString
ToString
To display the help page for a particular YAML command, see Getting Help with a Command in a Package.
with(YAML):
ParseString("{ name: G Raymond, date: 2016/02/03, payment: 50.71 }");
table⁡name=G Raymond,payment=50.71,date=2016/02/03
ToString( table([ "a"=[2,3,4,5], "b"=3 ]) );
--- a: - 2 - 3 - 4 - 5 b: 3
The YAML package was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
See Also
XMLTools
Download Help Document