Add a hint about missing colons.
Add a "missing colon" hint.

Closes #11

R=kathyw@google.com

Review URL: https://codereview.chromium.org//1176653003.
3 files changed
tree: 0fd64fd976bd036c17cdf8562cbcf79b5f2b2874
  1. .gitignore
  2. .status
  3. CHANGELOG.md
  4. LICENSE
  5. README.md
  6. codereview.settings
  7. lib/
  8. libyaml-license.txt
  9. pubspec.yaml
  10. test/
README.md

A parser for YAML.

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));
}