An open API service indexing awesome lists of open source software.

https://github.com/asphalt-framework/asphalt-serialization

Serialization component for the Asphalt framework
https://github.com/asphalt-framework/asphalt-serialization

python3 serialization

Last synced: 5 months ago
JSON representation

Serialization component for the Asphalt framework

Awesome Lists containing this project

README

          

.. image:: https://github.com/asphalt-framework/asphalt-serialization/actions/workflows/test.yml/badge.svg
:target: https://github.com/asphalt-framework/asphalt-serialization/actions/workflows/test.yml
:alt: Build Status
.. image:: https://coveralls.io/repos/github/asphalt-framework/asphalt-serialization/badge.svg?branch=master
:target: https://coveralls.io/github/asphalt-framework/asphalt-serialization?branch=master
:alt: Code Coverage

This Asphalt framework component provides a standardized interface for a number of
different serialization algorithms:

* CBOR_ (using `cbor2 `_)
* JSON_ (using the Python standard library ``json`` module)
* msgpack_ (using `msgpack-python `_)
* Pickle_ (using the Python standard library ``pickle`` module)
* YAML_ (using `ruamel.yaml `_)

Additional backends may be provided through third party plugins.

Some serializers also provide hooks for safely (un)marshalling custom types and this
mechanism can easily be plugged into a third party marshalling library.

.. _CBOR: http://cbor.io/
.. _JSON: http://wikipedia.org/wiki/JSON
.. _msgpack: http://msgpack.org/
.. _Pickle: https://docs.python.org/3/library/pickle.html
.. _YAML: http://wikipedia.org/wiki/YAML

Project links
-------------

* `Documentation `_
* `Help and support `_
* `Source code `_
* `Issue tracker `_