12/09
2015
PHP library to encode and decode JSON
To use the library, see the example below:, (*1)
<?php require_once 'vendor/autoload.php'; use sevensoft\json\Json; echo Json::encode("foo") . PHP_EOL; echo Json::encode(array('foo' => 'bar')) . PHP_EOL; echo var_export(Json::decode('{"foo":"bar"}')) . PHP_EOL;
Licensed under the Apache License, Version 2.0;, (*2)
http://www.apache.org/licenses/LICENSE-2.0, (*3)