kombu/docs/reference/kombu.serialization.rst

51 lines
1.1 KiB
ReStructuredText
Raw Normal View History

================================================
Message Serialization - ``kombu.serialization``
================================================
2016-07-16 18:51:23 +00:00
2010-07-23 12:43:33 +00:00
.. currentmodule:: kombu.serialization
.. automodule:: kombu.serialization
2010-10-27 07:17:37 +00:00
.. contents::
:local:
Overview
--------
Centralized support for encoding/decoding of data structures.
Contains json, pickle, msgpack, and yaml serializers.
Optionally installs support for YAML if the `PyYAML`_ package
is installed.
Optionally installs support for `msgpack`_ if the `msgpack-python`_
package is installed.
Exceptions
----------
.. autoexception:: SerializerNotInstalled
Serialization
-------------
2019-01-09 15:28:36 +00:00
.. autofunction:: dumps
2010-10-27 07:17:37 +00:00
2019-01-09 15:28:36 +00:00
.. autofunction:: loads
2010-10-27 07:17:37 +00:00
.. autofunction:: raw_encode
Registry
--------
.. autofunction:: register
2019-01-09 15:28:36 +00:00
.. autofunction:: unregister
2010-10-27 07:17:37 +00:00
.. autodata:: registry
.. _`Python 2.7+`: https://docs.python.org/library/json.html
.. _`PyYAML`: https://pyyaml.org/
.. _`msgpack`: https://msgpack.org/
.. _`msgpack-python`: https://pypi.org/project/msgpack-python/