Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2564)

Unified Diff: runtime/bin/vmservice/running_isolates.dart

Issue 23596007: Remove usage of dart:json. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/running_isolates.dart
diff --git a/runtime/bin/vmservice/running_isolates.dart b/runtime/bin/vmservice/running_isolates.dart
index 945e4f28efdbc3efc3a8e576c0ba4bfd3b402dd4..5b38223d18f26a279ad807c0c8e9532c9e518e4a 100644
--- a/runtime/bin/vmservice/running_isolates.dart
+++ b/runtime/bin/vmservice/running_isolates.dart
@@ -35,7 +35,7 @@ class RunningIsolates implements ServiceRequestRouter {
});
result['type'] = 'IsolateList';
result['members'] = members;
- request.setResponse(JSON.stringify(result));
+ request.setResponse(JSON.encode(result));
}
Future route(ServiceRequest request) {

Powered by Google App Engine
This is Rietveld 408576698