serialize
YAML and JSON serialization and deserialization functions.
Functions
|
|
|
Examples |
|
Dump object to string or stream. |
|
Dump object to string or stream. |
|
|
|
- _yaml_round_trip()
- _yaml_safe()
- yaml_round_trip_load(string)
- yaml_safe_load(string)
Examples
>>> yaml_safe_load("key: value") {'key': 'value'}
- yaml_round_trip_dump(object, stream=None)
Dump object to string or stream.
- yaml_safe_dump(object, stream=None)
Dump object to string or stream.
- json_load(string)
- json_dump(object)