sevensoft / json
PHP library to encode and decode JSON
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/sevensoft/json
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-10-11 23:32:57 UTC
README
API
To use the library, see the example below:
<?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;
License
Licensed under the Apache License, Version 2.0;