This class parses JSON strings and builds the corresponding objects.

Inheritance

Constructors

JsonDecoder([dynamic reviver(key, value)])
const

Constructs a new JsonDecoder.

Methods

bind(Stream<String> stream) → Stream<Object>

Transform the incoming stream's events.

convert(String input) → dynamic

Converts the given JSON-string input to its corresponding object.

fuse(Converter<Object> other) → Converter<String>
inherited

Fuses this with other.

startChunkedConversion(Sink<Object> sink) → StringConversionSink

Starts a conversion from a chunked JSON string to its corresponding object.