jsonstreamingparser:PHP中的JSON流解析器实现

时间:2021-04-06 03:00:54
【文件属性】:
文件名称:jsonstreamingparser:PHP中的JSON流解析器实现
文件大小:21KB
文件格式:ZIP
更新时间:2021-04-06 03:00:54
PHP 流式JSON解析器PHP 这是一个简单的流解析器,用于处理大型JSON文档。 使用它来解析非常大的JSON文档,以避免将整个内容加载到内存中,这几乎就是PHP的所有其他JSON解析器的工作方式。 有关更多详细信息,我对作了更详细的说明,其中讨论了与标准PHP JSON解析器之间的优缺点。 如果您曾经使用过另一种语言的XML(甚至JSON)的,那就是这样。 除了PHP中的JSON。 该软件包与 , 和兼容。 如果您发现合规性疏忽,请通过拉取请求发送补丁。 安装 要安装JsonStreamingParser您可以克隆此存储库,也可以使用composer composer require salsify/json-streaming-parser 用法 要使用JsonStreamingParser您只需实现\JsonStreamingParser\Listener接口。 然后,您将Li
【文件预览】:
jsonstreamingparser-master
----composer.json(1KB)
----example()
--------example_geojson.php(460B)
--------example.php(444B)
--------example_corruptedjson.php(534B)
--------example_regex.php(3KB)
----src()
--------Parser.php(19KB)
--------Listener()
--------ParserHelper.php(2KB)
--------Exception()
----.coveralls.yml(107B)
----CHANGELOG.md(1KB)
----README.md(3KB)
----LICENSE.txt(1KB)

网友评论