haochi / json-stable-stringify-python

json-stable-stringify port for python: deterministic JSON stringify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json-stable-stringify-python

CircleCI

Basically a Python port of substack's json-stable-stringify with just the default options.

Installation

pip install json_stable_stringify_python

Usage

>>> import json_stable_stringify_python as json_stable
>>> json_stable.stringify({'z': 1, 'a': 2})
'{"a":2,"z":1}'

About

json-stable-stringify port for python: deterministic JSON stringify

License:MIT License


Languages

Language:Python 100.0%