Migrate to GitHub Actions (#104)

* Delete .travis.yml
3 files changed
tree: 99e57a3c45a807ab5eb7d6febe00867eb2c7e4c1
  1. .github/
  2. benchmark/
  3. example/
  4. lib/
  5. test/
  6. .gitignore
  7. analysis_options.yaml
  8. CHANGELOG.md
  9. libyaml-license.txt
  10. LICENSE
  11. pubspec.yaml
  12. README.md
README.md

A parser for YAML.

Pub Package Build Status

Use loadYaml to load a single document, or loadYamlStream to load a stream of documents. For example:

import 'package:yaml/yaml.dart';

main() {
  var doc = loadYaml("YAML: YAML Ain't Markup Language");
  print(doc['YAML']);
}

This library currently doesn't support dumping to YAML. You should use json.encode from dart:convert instead:

import 'dart:convert';
import 'package:yaml/yaml.dart';

main() {
  var doc = loadYaml("YAML: YAML Ain't Markup Language");
  print(json.encode(doc));
}