| Index: pkg/yaml/lib/yaml.dart
|
| diff --git a/pkg/yaml/lib/yaml.dart b/pkg/yaml/lib/yaml.dart
|
| index 85861d564324f7762f2b34c9048029de4c135648..fa5286164274d0b89c105807b3d95cff066082dd 100644
|
| --- a/pkg/yaml/lib/yaml.dart
|
| +++ b/pkg/yaml/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
|
|
|