Introduction topic
Despite the stick YAML
gets, under all that complexity, is a highly configurable data format that you can bend to your will with the right tools.
Some great features of this parser include:
- By default, all
YamlSourceNode
are immutable. Ergo, such a node is equal to a correspondingDart
object with the same type. Use ofDeepCollectionEquality
MAY be required forMap
orList
. - Preserves the parsed integer radix.
- Extensive node support and an expressive way to declare directives and tags that aligns with the
YAML
spec. - Support for custom tags and their resolvers based on their tag shorthand suffix. There is no limitation (currently) if the
!
has no global tag as its prefix.
Note
Verbatim tags have no suffix and are usually not resolved.
Based on the process model, the current parser provides a YamlDocument
and YamlSourceNode
that is an almagamation of the first two stages from the left. Future changes may (not) separate these stages based on programmer (actual user) sentiment.
Classes
- YamlParser Introduction Parsing Documents
-
An intuitive top level
YAML
parser