Implements TOML serializer.
It's just a wrapper around the python toml module.
salt.serializers.toml.
DeserializationError
(message, line_num=None, buf='', marker=' <======================', trace=None)¶Raised when stream of string failed to be deserialized
salt.serializers.toml.
SerializationError
(message='')¶Raised when stream of string failed to be serialized
salt.serializers.toml.
deserialize
(stream_or_string, **options)¶Deserialize from TOML into Python data structure.
stream_or_string -- toml stream or string to deserialize.
options -- options given to the python toml module.
salt.serializers.toml.
serialize
(obj, **options)¶Serialize Python data to TOML.
obj -- the data structure to serialize.
options -- options given to the python toml module.