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

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

Issue 2974433002: Remaining private libs (Closed)
Patch Set: It's html_common Created 3 years, 5 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 unified diff | Download patch
« no previous file with comments | « sdk/lib/convert/html_escape.dart ('k') | sdk/lib/convert/latin1.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 part of "convert.dart"; 5 part of "dart:convert";
6 6
7 /** 7 /**
8 * Error thrown by JSON serialization if an object cannot be serialized. 8 * Error thrown by JSON serialization if an object cannot be serialized.
9 * 9 *
10 * The [unsupportedObject] field holds that object that failed to be serialized. 10 * The [unsupportedObject] field holds that object that failed to be serialized.
11 * 11 *
12 * If an object isn't directly serializable, the serializer calls the `toJson` 12 * If an object isn't directly serializable, the serializer calls the `toJson`
13 * method on the object. If that call fails, the error will be stored in the 13 * method on the object. If that call fails, the error will be stored in the
14 * [cause] field. If the call returns an object that isn't directly 14 * [cause] field. If the call returns an object that isn't directly
15 * serializable, the [cause] is null. 15 * serializable, the [cause] is null.
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 buffer.setRange(index, end, indent); 1050 buffer.setRange(index, end, indent);
1051 index = end; 1051 index = end;
1052 } else { 1052 } else {
1053 for (int i = 0; i < indentLength; i++) { 1053 for (int i = 0; i < indentLength; i++) {
1054 writeByte(indent[i]); 1054 writeByte(indent[i]);
1055 } 1055 }
1056 } 1056 }
1057 } 1057 }
1058 } 1058 }
1059 } 1059 }
OLDNEW
« no previous file with comments | « sdk/lib/convert/html_escape.dart ('k') | sdk/lib/convert/latin1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698