tdt / json
Reads a json stream memory efficiently.
Installs: 1 947
Dependents: 2
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 4
pkg:composer/tdt/json
This package is auto-updated.
Last update: 2025-09-29 01:38:21 UTC
README
JSONCharInputReader processes JSON data streams character-by-character
The data stream must be in the form of a JSON array (atm). ie. [1, 2, [3, 4], {"five": "six"}, ...
examples
To run the examples/example.php execute the following in your terminal:
$ cd examples $ cat | php example.php
Testing //todo
We have a few tests in the tests directory. You can run them as follows if you have phpunit installed:
$ phpunit tests/
Or you can watch our travis-ci.org page when you have pushed to this repository.