Reads a json stream memory efficiently.

Installs: 466

Dependents: 1

Stars: 3

Watchers: 7

Forks: 3

v1.0.1 2014-04-24 14:20 UTC


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"}, ...


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 page when you have pushed to this repository.