mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
17 lines
268 B
Markdown
17 lines
268 B
Markdown
---
|
|
icon: package
|
|
label: json
|
|
---
|
|
|
|
### `json.loads(s)`
|
|
|
|
Decode a JSON string into a python object.
|
|
|
|
It is supported by the `eval()` function.
|
|
|
|
### `json.dumps(obj)`
|
|
|
|
Encode a python object into a JSON string.
|
|
|
|
It is supported by the compiler with `JSON_MODE` enabled.
|