W3cubDocs

/Dart 2

JsonDecoder class

This class parses JSON strings and builds the corresponding objects.

Inheritance

Constructors

JsonDecoder([dynamic reviver(Object key, Object value) ])
const
Constructs a new JsonDecoder. [...]

Properties

hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

bind(Stream<String> stream) → Stream<Object>
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. [...]
cast<RS, RT>() → Converter<RS, RT>
inherited
Provides a Converter<RS, RT> view of this stream transformer. [...]
fuse<TT>(Converter<Object, TT> other) → Converter<String, TT>
inherited
Fuses this with other. [...]
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-convert/JsonDecoder-class.html