serializer modules

salt.serializers

This module implements all the serializers needed by salt. Each serializer offers the same functions and attributes:

deserialize:

function for deserializing string or stream

serialize:

function for serializing a Python object

available:

flag that tells if the serializer is available (all dependencies are met etc.)

exception salt.serializers.DeserializationError(message, line_num=None, buf='', marker='    <======================', trace=None)

Raised when stream of string failed to be deserialized

exception salt.serializers.SerializationError(message='')

Raised when stream of string failed to be serialized

configparser

salt.serializers.configparser

json

salt.serializers.json

msgpack

salt.serializers.msgpack

tomlmod

salt.serializers.tomlmod

yaml

salt.serializers.yaml

yamlex

salt.serializers.yamlex