JsonUtf8 extension
Conversion between JSON and UTF-8.
- on
Static Properties
Static Methods
-
decode(
List< int> bytes) → Object? - Decodes a UTF-8 buffer to a JSON object.
-
decodeAny(
Object? body) → Map< String, Object?> -
Available on Object, provided by the JsonUtf8 extension
Decodes a JSONbody
of type List<int> or String. -
encode(
Object? object) → Uint8List -
Available on Object, provided by the JsonUtf8 extension
Encodes a JSONobject
to a UTF-8 buffer.