Autosave: 2024-06-25 07:00:03

This commit is contained in:
thomasabishop 2024-06-25 07:00:03 +01:00
parent f250365cd4
commit 6aaa42e218
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -16,7 +16,7 @@ Will error if the input string is not properly formatted JSON. This will be
`json.JSONDecodeError`, a subclass of the `ValueError` `json.JSONDecodeError`, a subclass of the `ValueError`
[exception](./Error_handling_in_Python.md) [exception](./Error_handling_in_Python.md)
## `json.parse()` ## `json.dumps()`
Take a JSON-formatted dictionary and convert it into a string. The reverse of Take a JSON-formatted dictionary and convert it into a string. The reverse of
`json.loads()` and equivalent to `JSON.stringify()` in JavaScript. `json.loads()` and equivalent to `JSON.stringify()` in JavaScript.