An implementation of php-extended/php-data-provider-json that interprets json data
MIT License
An implementation of php-extended/php-data-provider-json that interprets json data.
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
composer.phar
from their website.php composer.phar php-extended/php-data-provider-json ^7
You may use this library the following way :
use PhpExtended\DataProvider\JsonFileDataProvider;
$provider = new JsonFileDataProvider('/path/to/json.file', true);
foreach($provider->provideIterator() as $line => $data)
{
// do something
}
You may also use an in-memory data provider with a string as raw json data using
the PhpExtended\DataProvider\JsonStringDataProvider
.
MIT (See license file).