JsonUtf8 extension

Conversion between JSON and UTF-8.

on

Static Properties

decoder Converter<List<int>, Object?>
A JSON decoder that decodes from UTF-8.
final
encoder JsonUtf8Encoder
A JSON encoder that encodes to UTF-8.
final

Static Methods

decode(List<int> bytes) Object?
Decodes a UTF-8 buffer to a JSON object.
decodeAny(Object? body) Map<String, Object?>
Decodes a JSON body of type List<int> or String.
encode(Object? object) Uint8List
Encodes a JSON object to a UTF-8 buffer.