# 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
`keyvalue` | salt.serializers.keyvalue Added in version 3006.0.
`msgpack` | salt.serializers.msgpack
`plist` | salt.serializers.plist Added in version 3001.
`python` | salt.serializers.python
`tomlmod` | salt.serializers.tomlmod
`yaml` | salt.serializers.yaml
`yamlex` | salt.serializers.yamlex