This Pythonic library provides a framework for serializing/deserializing Python classes to and from JSON and XML.
It relies upon the use of Python Properties in your Python classes.
Read the full documentation for more details.
Install this from PyPi.org using your preferred Python package manager.
Example using pip
:
pip install py-serializable
Example using poetry
:
poetry add py-serializable
See the full documentation or our unit tests for usage and details.
We endeavour to support all functionality for all current actively supported Python versions. However, some features may not be possible/present in older Python versions due to their lack of support.
Feel free to open issues, bugreports or pull requests.
See the CONTRIBUTING file for details.
py-serializable
is Copyright (c) Paul Horton 2022. All Rights Reserved.
Permission to modify and redistribute is granted under the terms of the Apache 2.0 license.
See the LICENSE file for the full license.