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

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

Filename, size & hash SHA256 hash help File type Python version Upload date
jsog-1.0.1.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None May 27, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page