naya:用Python编写的快速流式JSON解析器

时间:2021-05-08 06:25:38
【文件属性】:
文件名称:naya:用Python编写的快速流式JSON解析器
文件大小:161KB
文件格式:ZIP
更新时间:2021-05-08 06:25:38
Python 娜雅(不是另一个) 适用于Python的快速流式JSON解析器 NAYA旨在在无依赖项的纯Python 3中快速有效地解析JSON。 NAYA与其他JSON解析器的不同之处在于,即使整个数组尚不可用,它也可用于流JSON数组。 用法 stream_array 给定以下JSON,它将通过类似object的文件来传递: [ { " id " : 1 , " type " : " message " , " content " : " Hello! " }, { " id " : 2 , " type " : " query " , " user_name " : " tarzan " , " password " : " not_jane " }, { " id " : 3 , " type " : " comman
【文件预览】:
naya-master
----.gitignore(707B)
----naya()
--------__init__.py(129B)
--------json.py(24KB)
----README.md(2KB)
----tests()
--------__init__.py(21B)
--------json_tests.py(12KB)
--------sample.json(671KB)
----LICENSE(1KB)
----setup.py(892B)

网友评论