tdt/json

Reads a json stream memory efficiently.

Installs: 432

Dependents: 1

Stars: 2

Watchers: 7

Forks: 3

Language: PHP

v1.0.1 2014-04-24 14:20 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.