menu
celest_core package
documentation
_internal.dart
JsonUtf8 extension
JsonUtf8 extension
dark_mode
light_mode
JsonUtf8
extension
Conversion between JSON and UTF-8.
on
Object
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.
celest_core package
documentation
_internal
JsonUtf8 extension
_internal library