/pyjsmn

Python extension for jsmn

Primary LanguagePython

pyjsmn

Build status

About

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

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"}]