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

Side by Side Diff: sdk/lib/json/json.dart

Issue 11612020: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/isolate/timer.dart ('k') | sdk/lib/math/base.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart.json; 5 #library("dart:json");
6 6
7 import 'dart:math'; 7 #import('dart:math');
8 8
9 // JSON parsing and serialization. 9 // JSON parsing and serialization.
10 10
11 /** 11 /**
12 * Error thrown by JSON serialization if an object cannot be serialized. 12 * Error thrown by JSON serialization if an object cannot be serialized.
13 * 13 *
14 * The [unsupportedObject] field holds that object that failed to be serialized. 14 * The [unsupportedObject] field holds that object that failed to be serialized.
15 * 15 *
16 * If an isn't directly serializable, the serializer calls the 'toJson' method 16 * If an isn't directly serializable, the serializer calls the 'toJson' method
17 * on the object. If that call fails, the error will be stored in the [cause] 17 * on the object. If that call fails, the error will be stored in the [cause]
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 first = false; 593 first = false;
594 }); 594 });
595 sb.add('}'); 595 sb.add('}');
596 seen.removeLast(); 596 seen.removeLast();
597 return true; 597 return true;
598 } else { 598 } else {
599 return false; 599 return false;
600 } 600 }
601 } 601 }
602 } 602 }
OLDNEW
« no previous file with comments | « sdk/lib/isolate/timer.dart ('k') | sdk/lib/math/base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698