Stars: 134
Forks: 19
Pull Requests: 11
Issues: 20
Watchers: 8
Last Updated: 2022-12-08 13:00:04
A JSON pull parser for PHP
License: MIT License
Languages: PHP
This is a streaming pull parser - like XMLReader but for JSON.
PHP 7.3 or higher with the Intl extension.
To install with composer:
composer require pcrov/jsonreader
JsonReader's interface and behavior is very much like XMLReader. If you've worked with that then this will feel familiar.
For examples and API documentation see the wiki.
Only UTF-8 encoded JSON is supported. If you need to parse JSON in another encoding see Handling Non UTF-8 Encodings on the wiki.