Replace deprecated JSON with json from dart:convert (#48)

diff --git a/README.md b/README.md
index 6f77bcd..93a7909 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@
 ```
 
 This library currently doesn't support dumping to YAML. You should use
-`JSON.encode` from `dart:convert` instead:
+`json.encode` from `dart:convert` instead:
 
 ```dart
 import 'dart:convert';
@@ -23,6 +23,6 @@
 
 main() {
   var doc = loadYaml("YAML: YAML Ain't Markup Language");
-  print(JSON.encode(doc));
+  print(json.encode(doc));
 }
 ```