【文件属性】:
文件名称:pyjsmn:jsmn的Python扩展
文件大小:11KB
文件格式:ZIP
更新时间:2021-04-28 19:48:17
C
pyjsmn
关于
pyjsmn是 (最小化JSON解析器)的包装。 pyjsmn不支持编码方法(obj-> str)。
安装
从点子:
$ pip install pyjsmn
从easy_install:
easy_install -ZU pyjsmn
要求
Python2.7。
用法
基本用法:
>>> import pyjsmn
>>> pyjsmn.loads('[1, 2, {"test": "hoge"}]')
>>> [1, 2, {"test": "hoge"}]
链接
【文件预览】:
pyjsmn-master
----MANIFEST.in(49B)
----.travis.yml(185B)
----README.rst(796B)
----MANIFEST(104B)
----tests()
--------memcheck.py(189B)
--------test_pyjsmn.py(2KB)
----pyjsmn()
--------_jsmn.c(9KB)
----examples()
--------simple_dictlist.py(114B)
--------simple_dictdouble.py(131B)
--------life.py(212B)
--------test_decode.py(422B)
--------simple_list.py(70B)
--------benchtest.py(9KB)
--------simple_dict.py(156B)
--------test2.py(6KB)
----setup.py(993B)
----.gitignore(11B)
----Makefile(423B)