Skip to main content

JSOG serializer and deserializer

Project description

# Serializing JavaScript Object Graphs with Python

This Python module serializes and deserializes cyclic object graphs in the [JSOG format](https://github.com/stickfigure/jsog).

## Source code

The official repository is (https://github.com/stickfigure/jsog-python).

## Download

TODO: PyPI

## 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

## License

This software is provided under the [MIT license](http://opensource.org/licenses/MIT)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsog-1.0.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file jsog-1.0.tar.gz.

File metadata

  • Download URL: jsog-1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jsog-1.0.tar.gz
Algorithm Hash digest
SHA256 bb05e9126396f598bbe14dda14601fcb35ab6d45147608aa889bfac4ba7e8d45
MD5 29841d9393a0667c380e4c85a117d660
BLAKE2b-256 9555d0bdf4085b0d2e0e3cd600284ea9fc780ce539faec31b3d1af6f9382e26f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page