ec34263a9c
The toJson method must return a value that can be directly serialized (a num/String/bool/Null/List/Map value). Clean up of json.dart with more comments and less unnecessary privacy. BUG=4716 Review URL: https://chromiumcodereview.appspot.com//10914009 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12238 260f80e4-7a28-3924-810f-c04153c831b5