Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hhatto/pyjsmn

Python extension for jsmn
https://github.com/hhatto/pyjsmn

Last synced: 2 months ago
JSON representation

Python extension for jsmn

Awesome Lists containing this project

README

        

pyjsmn
======
.. image:: https://travis-ci.org/hhatto/pyjsmn.png?branch=master
:target: https://travis-ci.org/hhatto/pyjsmn
:alt: Build status

About
-----
pyjsmn is a wrapper for `JSMN`_ (minimalistic JSON parser).
pyjsmn is not support encoding method(obj->str).

.. _`JSMN`: https://github.com/zserge/jsmn

Installation
------------
from pip::

$ pip install pyjsmn

from easy_install::

easy_install -ZU pyjsmn

Requirements
------------
Python2.7.

Usage
-----

basic usage::

>>> import pyjsmn
>>> pyjsmn.loads('[1, 2, {"test": "hoge"}]')
>>> [1, 2, {"test": "hoge"}]

Links
-----
* PyPI_
* GitHub_
* `Travis-CI`_

.. _PyPI: http://pypi.python.org/pypi/pyjsmn/
.. _GitHub: https://github.com/hhatto/pyjsmn
.. _`Travis-CI`: https://travis-ci.org/hhatto/pyjsmn