rookie_yaml 0.0.6 copy "rookie_yaml: ^0.0.6" to clipboard
rookie_yaml: ^0.0.6 copied to clipboard

A customizable (rookie) YAML parser that can parse both json and yaml.

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.

0
likes
160
points
108
downloads

Publisher

verified publishertaske.dev

Weekly Downloads

A customizable (rookie) YAML parser that can parse both json and yaml.

Repository (GitHub)
View/report issues
Contributing

Topics

#yaml

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

characters, collection, logger, source_span

More

Packages that depend on rookie_yaml