salt.serializers.toml
salt.serializers.toml
Implements TOML serializer.
It's just a wrapper around the python toml module.
-
Deserialize from TOML into Python data structure.
- Parameters
-
stream_or_string -- toml stream or string to deserialize.
options -- options given to the python toml module.
salt.serializers.toml.deserialize(stream_or_string, **options)
-
Serialize Python data to TOML.
- Parameters
-
obj -- the data structure to serialize.
options -- options given to the python toml module.
salt.serializers.toml.serialize(obj, **options)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/serializers/all/salt.serializers.toml.html