Dart API Reference
dart:convert
JsonDecoder
JsonDecoder
class
This class parses JSON strings and builds the corresponding objects.
This class parses JSON strings and builds the corresponding objects.
Extends:
Converter
<
String
,
Object
>
Object
Constructors
JsonDecoder
( [
dynamic
reviver
(
key
,
value
)
] )
const
Constructs a new JsonDecoder.
Instance Methods
convert
(
String
input
) →
dynamic
Converts the given JSON-string input to its corresponding object.
startChunkedConversion
(
Sink
<
Object
>
sink
) →
StringConversionSink
Starts a conversion from a chunked JSON string to its corresponding object.
bind
(
Stream
<
String
>
stream
) →
Stream
<
Object
>
Transform the incoming [stream]'s events.
fuse
Inherited
(
Converter
<
Object
>
other
) →
Converter
<
String
>
Fuses this with other.
fuse
Inherited
(
Converter
<
Object
>
other
) →
Converter
<
String
>
Fuses this with other.