extended_data.primitives.formats.yaml.utils¶
This module provides utility functions for YAML encoding and decoding.
It includes functions to decode YAML strings, encode Python objects to YAML, and check if data is a YAML tagged object.
Module Contents¶
Functions¶
Decode YAML data into a Python object. |
|
Encode a Python object into a YAML string. |
|
Check if the data is a YAML tagged object. |
API¶
- extended_data.primitives.formats.yaml.utils.decode_yaml(yaml_data: str | memoryview | bytes | bytearray) Any¶
Decode YAML data into a Python object.
Args: yaml_data (str | memoryview | bytes | bytearray): The YAML data to decode.
Returns: Any: The decoded Python object.