| Index: utils/apidoc/mdn/postProcess.dart
|
| diff --git a/utils/apidoc/mdn/postProcess.dart b/utils/apidoc/mdn/postProcess.dart
|
| index 801e7d1c56f4b8fa690dd6f44bb29ee9fdba11e2..ee61723a0aab43464aaa72fd35e6aa80c7122a1c 100644
|
| --- a/utils/apidoc/mdn/postProcess.dart
|
| +++ b/utils/apidoc/mdn/postProcess.dart
|
| @@ -6,13 +6,13 @@
|
|
|
| library postProcess;
|
|
|
| +import 'dart:convert';
|
| import 'dart:io';
|
| -import 'dart:json' as json;
|
| import 'util.dart';
|
|
|
| void main() {
|
| // Database of code documentation.
|
| - Map<String, List> database = json.parse(
|
| + Map<String, List> database = JSON.decode(
|
| new File('output/database.json').readAsStringSync());
|
| final filteredDb = {};
|
| final obsolete = [];
|
| @@ -33,6 +33,6 @@ void main() {
|
| }
|
| }
|
| }
|
| - writeFileSync("output/database.filtered.json", json.stringify(filteredDb));
|
| - writeFileSync("output/obsolete.json", json.stringify(obsolete));
|
| + writeFileSync("output/database.filtered.json", JSON.encode(filteredDb));
|
| + writeFileSync("output/obsolete.json", JSON.encode(obsolete));
|
| }
|
|
|