| 1 |
======================== |
| 2 |
jsonpickle Documentation |
| 3 |
======================== |
| 4 |
|
| 5 |
``jsonpickle`` is a Python library for |
| 6 |
serialization and deserialization of complex Python objects to and from |
| 7 |
JSON. The standard Python libraries for encoding Python into JSON, such as |
| 8 |
the stdlib's json and simplejson can only handle Python |
| 9 |
primitives that have a direct JSON equivalent (e.g. dicts, lists, strings, |
| 10 |
ints, etc.). jsonpickle builds on top of these libraries and allows more |
| 11 |
complex data structures to be serialized to JSON. jsonpickle is highly |
| 12 |
configurable and extendable--allowing the user to choose the JSON backend |
| 13 |
and add additional backends. |
| 14 |
|
| 15 |
jsonpickle Usage |
| 16 |
================ |
| 17 |
|
| 18 |
.. automodule:: jsonpickle |
| 19 |
|
| 20 |
Download & Install |
| 21 |
================== |
| 22 |
|
| 23 |
The easiest way to get jsonpickle is via PyPi_ with pip_:: |
| 24 |
|
| 25 |
$ pip install -U jsonpickle |
| 26 |
|
| 27 |
jsonpickle has no required dependencies (it uses the standard library's |
| 28 |
:mod:`json` module by default). |
| 29 |
|
| 30 |
You can also download or :ref:`checkout <jsonpickle-contrib-checkout>` the |
| 31 |
latest code and install from source:: |
| 32 |
|
| 33 |
$ python setup.py install |
| 34 |
|
| 35 |
.. _PyPi: https://pypi.org/project/jsonpickle/ |
| 36 |
.. _pip: https://pypi.org/project/pip/ |
| 37 |
.. _download: https://pypi.org/project/jsonpickle/ |
| 38 |
|
| 39 |
|
| 40 |
API Reference |
| 41 |
============= |
| 42 |
|
| 43 |
.. toctree:: |
| 44 |
|
| 45 |
api |
| 46 |
|
| 47 |
Extensions |
| 48 |
========== |
| 49 |
|
| 50 |
.. toctree:: |
| 51 |
|
| 52 |
extensions |
| 53 |
|
| 54 |
Contributing |
| 55 |
============ |
| 56 |
|
| 57 |
.. toctree:: |
| 58 |
|
| 59 |
contrib |
| 60 |
|
| 61 |
Contact |
| 62 |
======= |
| 63 |
|
| 64 |
Please join our `mailing list <https://groups.google.com/group/jsonpickle>`_. |
| 65 |
You can send email to *[email protected]*. |
| 66 |
|
| 67 |
Check https://github.com/jsonpickle/jsonpickle for project updates. |
| 68 |
|
| 69 |
|
| 70 |
Authors |
| 71 |
======= |
| 72 |
|
| 73 |
* John Paulett - john -at- paulett.org - https://github.com/johnpaulett |
| 74 |
* David Aguilar - davvid -at- gmail.com - https://github.com/davvid |
| 75 |
* Theelx - https://github.com/Theelx |
| 76 |
* Dan Buch - https://github.com/meatballhat |
| 77 |
* Ian Schenck - https://github.com/ianschenck |
| 78 |
* David K. Hess - https://github.com/davidkhess |
| 79 |
* Alec Thomas - https://github.com/alecthomas |
| 80 |
* jaraco - https://github.com/jaraco |
| 81 |
* Marcin Tustin - https://github.com/marcintustin |
| 82 |
|
| 83 |
|
| 84 |
Change Log |
| 85 |
========== |
| 86 |
|
| 87 |
.. toctree:: |
| 88 |
:maxdepth: 2 |
| 89 |
|
| 90 |
history |
| 91 |
|
| 92 |
License |
| 93 |
======= |
| 94 |
|
| 95 |
jsonpickle is provided under a |
| 96 |
`New BSD license <https://github.com/jsonpickle/jsonpickle/raw/main/COPYING>`_, |
| 97 |
|
| 98 |
Copyright (C) 2008-2011 John Paulett (john -at- paulett.org) |
| 99 |
Copyright (C) 2009-2021 David Aguilar (davvid -at- gmail.com) |