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

A customizable 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 in each minor/patch 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.

Documentation & Examples (Still in progress 🏗️) #

  • The docs folder in the repository. Use the table of contents as a guide.
  • Visit pub guide which provides an automatic guided order for the docs above.
  • The example folder.

Contribution #

  • See guide on how to make contributions to this repository.
  • Run test suite guide and look for bugs to fix.
0
likes
160
points
128
downloads

Publisher

verified publishertaske.dev

Weekly Downloads

A customizable 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

collection, logging

More

Packages that depend on rookie_yaml