A YAML parser for Dart
open sourceMITfree
yaml is the Dart team's YAML parser: loadYaml loads a single document and loadYamlStream a stream of documents into Dart maps, lists and values. It parses only; it can't write YAML. It lives in the dart-lang/tools mono-repo and is published on pub.dev by tools.dart.dev.
Problems it solves
- read a YAML config file in a Dart program
- parse a multi-document YAML stream in Dart
- load YAML into Dart maps and lists
Features
- Parses YAML in pure Dart
- loadYaml for one document, loadYamlStream for several
- Loads into Dart maps, lists and values
Limitations
- Can't write YAML: it only parses, and its README suggests json.encode for output1
