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

Side by Side Diff: tool/input_sdk/lib/convert/convert.dart

Issue 1965563003: Update dart:convert and dart:core Uri. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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
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 /** 5 /**
6 * 6 *
7 * Encoders and decoders for converting between different data representations, 7 * Encoders and decoders for converting between different data representations,
8 * including JSON and UTF-8. 8 * including JSON and UTF-8.
9 * 9 *
10 * In addition to converters for common data representations, this library 10 * In addition to converters for common data representations, this library
11 * provides support for implementing converters in a way which makes them easy t o 11 * provides support for implementing converters in a way which makes them easy t o
12 * chain and to use with streams. 12 * chain and to use with streams.
13 * 13 *
14 * The `dart:convert` library works in both web apps and command-line apps. 14 * To use this library in your code:
15 * To use it:
16 * 15 *
17 * import 'dart:convert'; 16 * import 'dart:convert';
18 * 17 *
19 * Two commonly used converters are the top-level instances of 18 * Two commonly used converters are the top-level instances of
20 * [JsonCodec] and [Utf8Codec], named JSON and UTF8, respectively. 19 * [JsonCodec] and [Utf8Codec], named JSON and UTF8, respectively.
21 * 20 *
22 * JSON is a simple text format for representing 21 * JSON is a simple text format for representing
23 * structured objects and collections. 22 * structured objects and collections.
24 * The JSON encoder/decoder transforms between strings and 23 * The JSON encoder/decoder transforms between strings and
25 * object structures, such as lists and maps, using the JSON format. 24 * object structures, such as lists and maps, using the JSON format.
(...skipping 25 matching lines...) Expand all
51 * 50 *
52 * See the documentation for the [Codec] and [Converter] classes 51 * See the documentation for the [Codec] and [Converter] classes
53 * for information about creating your own converters. 52 * for information about creating your own converters.
54 */ 53 */
55 library dart.convert; 54 library dart.convert;
56 55
57 import 'dart:async'; 56 import 'dart:async';
58 import 'dart:typed_data'; 57 import 'dart:typed_data';
59 58
60 part 'ascii.dart'; 59 part 'ascii.dart';
60 part 'base64.dart';
61 part 'byte_conversion.dart'; 61 part 'byte_conversion.dart';
62 part 'chunked_conversion.dart'; 62 part 'chunked_conversion.dart';
63 part 'codec.dart'; 63 part 'codec.dart';
64 part 'converter.dart'; 64 part 'converter.dart';
65 part 'encoding.dart'; 65 part 'encoding.dart';
66 part 'html_escape.dart'; 66 part 'html_escape.dart';
67 part 'json.dart'; 67 part 'json.dart';
68 part 'latin1.dart'; 68 part 'latin1.dart';
69 part 'line_splitter.dart'; 69 part 'line_splitter.dart';
70 part 'string_conversion.dart'; 70 part 'string_conversion.dart';
71 part 'utf.dart'; 71 part 'utf.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698