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

Unified Diff: lib/json/json.dart

Issue 9387007: Make lists parsed by JSON untyped. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/json/json.dart
===================================================================
--- lib/json/json.dart (revision 4127)
+++ lib/json/json.dart (working copy)
@@ -415,7 +415,7 @@
}
_parseList() {
- List<Object> list = new List<Object>();
+ List list = new List();
antonm 2012/02/14 12:30:55 actually, I wrote this code. This days I would wr
Anders Johnsen 2012/02/14 12:48:04 I'm fine with "var list = []"! Right now, the lis
antonm 2012/02/14 13:04:06 I too prefer []/{}, but curious: I thought that Li
Anders Johnsen 2012/02/14 13:13:14 List<double> myList = fromJson["list"]; // of type
_parseSequence(JsonToken.RBRACKET, (JsonToken token) {
final value = _parseValue(token);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698