# Serializing JavaScript Object Graphs with Python
This Python module serializes and deserializes cyclic object graphs in the [JSOG format](https://github.com/jsog/jsog).
## Source code
The official repository is (https://github.com/jsog/jsog-python).
## Download
Jsog is available in PyPI:
$ pip install jsog
## Usage
This code mimics the standard json python package:
import jsog
string = jsog.dumps(cyclicGraph); cyclicGraph = jsog.loads(string);
It can be used to convert between object graphs directly:
import jsog
jsogStructure = jsog.encode(cyclicGraph); // has { ‘@ref’: ‘ID’ } links instead of cycles cyclicGraph = jsog.decode(jsogStructure);
## Author
Jeff Schnitzer (jeff@infohazard.org)
## License
This software is provided under the [MIT license](http://opensource.org/licenses/MIT)
Metadata
Release files for jsog 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| jsog-1.0.1.tar.gz | 2.1 kB | Without provenance | Details |
Release files / jsog-1.0.1.tar.gz
| Download URL | jsog-1.0.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3b605213d7d28c150042a0e52e3818ce5976f9eb30225e3512afa10ecf13caa
|
|
BLAKE2b-256 checksum How to use checksums |
8fdee8a7a5a5fb2e1c27b909757c070eb45c5cfe3cea900bf6de8ada51c35a88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for jsog 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.