Chromium Code Reviews
DescriptionMake JSON.stringify call toJson() on objects that it can't serialize.
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
Committed: https://code.google.com/p/dart/source/detail?r=12238
Patch Set 1 #
Total comments: 12
Patch Set 2 : Made JSON.length disappear. #
Total comments: 2
Messages
Total messages: 10 (0 generated)
|
|||||||||||||||||||||||||||||||||||||