Remove usage of dart:json.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com
Review URL: https://codereview.chromium.org//23596007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/yaml@26789 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/lib/yaml.dart b/lib/yaml.dart
index 85861d5..fa52861 100644
--- a/lib/yaml.dart
+++ b/lib/yaml.dart
@@ -29,13 +29,13 @@
/// }
///
/// This library currently doesn't support dumping to YAML. You should use
-/// `stringify` from `dart:json` instead:
+/// `JSON.encode` from `dart:convert` instead:
///
-/// import 'dart:json' as json;
+/// import 'dart:convert';
/// import 'package:yaml/yaml.dart';
/// main() {
/// var doc = loadYaml("YAML: YAML Ain't Markup Language");
-/// print(json.stringify(doc));
+/// print(JSON.encode(doc));
/// }
///
/// [pub]: http://pub.dartlang.org