Download the PHP package im0rtality/jsonstreamingparser without Composer
On this page you can find all versions of the php package im0rtality/jsonstreamingparser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download im0rtality/jsonstreamingparser
More information about im0rtality/jsonstreamingparser
Files in im0rtality/jsonstreamingparser
Download im0rtality/jsonstreamingparser
More information about im0rtality/jsonstreamingparser
Files in im0rtality/jsonstreamingparser
Vendor im0rtality
Package jsonstreamingparser
Short Description A streaming parser for JSON in PHP.
License MIT
Homepage https://github.com/salsify/jsonstreamingparser
Package jsonstreamingparser
Short Description A streaming parser for JSON in PHP.
License MIT
Homepage https://github.com/salsify/jsonstreamingparser
Please rate this library. Is it a good library?
Informations about the package jsonstreamingparser
Not invented here
Code forked from https://github.com/salsify/jsonstreamingparser and some fixed added:
- Removed file_position callback from listener (we did not need it and it gave significant performance boost)
- PSR2
Features
- Stream based - low memory footprint does not grow with file size
- Similar to SAX parser
Known drawbacks
- Performance is not as good as it should be (throughput - ~1MB per 9 secs, VirtualBox, Debian 7 on 4.3GHz CPU, single core)
Usage
To use the JsonStreamingParser
you just have to implement the JsonStreamingParser\Listener
interface. You then pass your Listener
into the parser. For example:
That's it! Your Listener
will receive events from the streaming parser as it works.
License
MIT License
All versions of jsonstreamingparser with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3
The package im0rtality/jsonstreamingparser contains the following files
Loading the files please wait ....