| Index: sdk/lib/convert/json.dart
|
| diff --git a/sdk/lib/convert/json.dart b/sdk/lib/convert/json.dart
|
| index 32bed4bae44d8f9044a0ab9e364003c0561dce99..3888cc9db40e5c716485430c9f11e82179173135 100644
|
| --- a/sdk/lib/convert/json.dart
|
| +++ b/sdk/lib/convert/json.dart
|
| @@ -156,7 +156,8 @@ class JsonCodec extends Codec<Object, String> {
|
| /**
|
| * This class converts JSON objects to strings.
|
| */
|
| -class JsonEncoder extends Converter<Object, String> {
|
| +class JsonEncoder extends Converter<Object, String>
|
| + implements ChunkedConverter<Object, String, Object, String> {
|
| /**
|
| * The string used for indention.
|
| *
|
| @@ -282,7 +283,8 @@ class JsonEncoder extends Converter<Object, String> {
|
| * a JSON string, and then UTF-8 encoding the string, but without
|
| * creating an intermediate string.
|
| */
|
| -class JsonUtf8Encoder extends Converter<Object, List<int>> {
|
| +class JsonUtf8Encoder extends Converter<Object, List<int>>
|
| + implements ChunkedConverter<Object, List<int>, Object, List<int>> {
|
| /** Default buffer size used by the JSON-to-UTF-8 encoder. */
|
| static const int DEFAULT_BUFFER_SIZE = 256;
|
| /** Indentation used in pretty-print mode, `null` if not pretty. */
|
| @@ -466,7 +468,8 @@ class _JsonUtf8EncoderSink extends ChunkedConversionSink<Object> {
|
| /**
|
| * This class parses JSON strings and builds the corresponding objects.
|
| */
|
| -class JsonDecoder extends Converter<String, Object> {
|
| +class JsonDecoder extends Converter<String, Object>
|
| + implements ChunkedConverter<String, Object, String, Object> {
|
| final _Reviver _reviver;
|
| /**
|
| * Constructs a new JsonDecoder.
|
|
|