Implements YAML serializer.
Underneath, it is based on pyyaml and use the safe dumper and loader. It also use C bindings if they are available.
salt.serializers.yaml.deserialize(stream_or_string, **options)¶Deserialize any string of stream like object into a Python data structure.
| Parameters: |
|
|---|
salt.serializers.yaml.serialize(obj, **options)¶Serialize Python data to YAML.
| Parameters: |
|
|---|
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2018.3.3
salt.serializers.python module