halaxa/json-machine
Efficiently parse huge JSON files and streams in PHP with low memory usage. json-machine provides an iterator-style API for incremental decoding of arrays/objects, supports JSON Lines and custom pointers/paths, and works great for imports and ETL tasks.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
Further performance and code improvements. See the CHANGELOG. Please leave your comments in the 0.8.0-BETA discussion.
See the CHANGELOG. Please leave your comments in the 0.8.0-BETA discussion.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
See CHANGELOG for changes and release notes.
Minor feature: JsonMachine::fromIterable() - an alias to constructor, but emphasizing the fact that an iterable can be a source of json data. Very handy in conjunction with Symfony HttpClient and new httpClientChunks helper. See example in src/examples.
Also PHP 7.4 support
#6, thanks @Mwisho #14, thanks @formatz #19, thanks @LaravelFreelancerNL
#9 Fixed json parsing with "\\" at the end of a string. Thanks, @marenkov.
Docker: Each PHP docker image has xdebug installed Docker: Testing script tries to pull the newest image of each supported php version Docker: Updated PHP 7.3 version to stable
Json pointer was failing when iterated subtree was not the first at its level #7. Thanks, @rybakit.
Fixed json_decode call on performace test to return array same as JsonMachine
Got rid of the quiet dependency on local ./composer binary
Reworded guzzle example #3. Thanks, @Mwisho.
Only lower case of null, true and false is allowed - was non standard and shouldn't affect anyone
Support for + sign in front of positive number was dropped - was non standard and shouldn't affect anyone
Lexer has changed. It newly requires \Traversable instead of a stream resource. It doesn't affect public JsonMachine API.License, readme and logo changes.
How can I help you explore Laravel packages today?