Index: pkg/intl/lib/src/lazy_locale_data.dart |
diff --git a/pkg/intl/lib/src/lazy_locale_data.dart b/pkg/intl/lib/src/lazy_locale_data.dart |
index 90ff3a1053aec952d927f84ca51828fbacb53e4a..ecef1ab1c1a71ba89e7f273d9a40b996320c3c52 100644 |
--- a/pkg/intl/lib/src/lazy_locale_data.dart |
+++ b/pkg/intl/lib/src/lazy_locale_data.dart |
@@ -10,8 +10,8 @@ |
library lazy_locale_data; |
import 'dart:async'; |
+import 'dart:convert'; |
import 'intl_helpers.dart'; |
-import 'dart:json' as json; |
/** |
* This implements the very basic map-type operations which are used |
@@ -108,6 +108,6 @@ class LazyLocaleData { |
* return another future that parses the JSON into a usable format. |
*/ |
Future jsonData(Future input) { |
- return input.then( (response) => json.parse(response)); |
+ return input.then( (response) => JSON.decode(response)); |
} |
} |