rookie_yaml

pub_version pub_downloads Coverage Status test_suite

Warning

The parser is still in active development and has missing features/intermediate functionalities. Until a stable 1.0.0 is released, package API may have breaking changes on each version.

A (rookie) Dart YAML 1.2+ parser.

What's Included

  • A fail-fast YAML parser.
  • Opinionated YAML dumper functions that prioritize compatibility and portability.

Supported Schema Tags

The secondary tag handle !! is limited to tags below which all resolve to the YAML global tag prefix, tag:yaml.org,2002.

  • YAML schema tags

    • !!map - Map
    • !!seq - List
    • !!str - String
  • JSON schema tags

    • !!null - null
    • !!bool - Boolean.
    • !!int - Integer. hex, octal and base 10 should use this.
    • !!float - double.
  • Dart-specific schema tags

    • !!uri - URI

Warning

The Dart-specific secondary tags may be moved to a custom global tag prefix.

Documentation & Examples

Visit the pub guide or examples folder.

Libraries

rookie_yaml