sj

Python runer lib support shell, ssh ...


License
MIT
Install
pip install sj==0.1.0

Documentation

sj

https://travis-ci.org/hamfist/sj.png?branch=master https://badge.fury.io/py/sj.png

Enforcer of snakey JSON.

Installation

With pip:

pip install sj

With curl (separate install of ijson required):

curl -sLO https://raw.githubusercontent.com/hamfist/sj/master/sj.py
mv sj.py ~/bin/sj
chmod +x ~/bin/sj

Usage

With whatever stdin:

sj < some-file.json

With curl:

curl -s http://example.org/some/path | sj