Difference between revisions of "LRM yaml Support"
(Created page with "== Yaml Parser == LRM supports YAML 1.2 and uses the snakeyaml1.2 engine to parse files. Information on snakeyaml can be found [https://bitbucket.org/asomov/snakeyaml-engine a...") |
|||
Line 4: | Line 4: | ||
== Unsupported YAML syntax == |
== Unsupported YAML syntax == |
||
The following syntax is not supported by LRM. |
The following syntax is not supported by LRM. |
||
+ | === Set format === |
||
+ | A set is an unordered collection of nodes such that no two nodes are equal. |
||
+ | |||
+ | baseball players: !!set |
||
+ | :? Mark McGwire |
||
+ | :? Sammy Sosa |
||
+ | :? Ken Griffey |
||
+ | <nowiki /># Flow style |
||
+ | baseball teams: !!set { Boston Red Sox, Detroit Tigers, New York Yankees } |
Revision as of 23:00, 25 November 2018
Yaml Parser
LRM supports YAML 1.2 and uses the snakeyaml1.2 engine to parse files. Information on snakeyaml can be found at snakeyaml
Unsupported YAML syntax
The following syntax is not supported by LRM.
Set format
A set is an unordered collection of nodes such that no two nodes are equal.
baseball players: !!set
- ? Mark McGwire
- ? Sammy Sosa
- ? Ken Griffey
# Flow style baseball teams: !!set { Boston Red Sox, Detroit Tigers, New York Yankees }