Skip to content

hhatto/pyrapidjson

Repository files navigation

pyrapidjson

Build status

About

pyrapidjson is a wrapper for rapidjson (JSON parser/generator).

Installation

from pip:

$ pip install pyrapidjson

from easy_install:

easy_install -ZU pyrapidjson

Requirements

Python2.7+

Usage

basic usage:

>>> import rapidjson
>>> rapidjson.loads('[1, 2, {"test": "hoge"}]')
>>> [1, 2, {"test": "hoge"}]
>>> rapidjson.dumps([1, 2, {"foo": "bar"}])
'[1,2,{"foo":"bar"}]'
>>>