This class converts JSON objects to strings.
Constructors
- JsonEncoder([dynamic toEncodable(nonSerializable)])
-
Creates a JSON encoder.…
const - JsonEncoder.withIndent(String indent, [dynamic toEncodable(nonSerializable)])
-
Creates a JSON encoder that creates multi-line JSON.…
const
Properties
Operators
-
operator ==(
other) → bool -
The equality operator.…
inherited
Methods
-
bind(
Stream<Object> stream) → Stream<String> -
Transform the incoming
stream
's events.… -
convert(
Object object) → String -
fuse(
Converter<String, dynamic> other) → Converter<Object, dynamic> -
Fuses
this
withother
.… -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.…
inherited -
startChunkedConversion(
Sink<String> sink) → ChunkedConversionSink<Object> -
Starts a chunked conversion.…
-
toString(
) → String -
Returns a string representation of this object.
inherited