1. Go to this page and download the library: Download awesome9/json library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
awesome9 / json example snippets
use Awesome9\JSON\JSON;
// Initialize JSON manager with a default object name
$json_manager = new JSON('awesome9');
$json_manager->hooks();
// Adding individual data
$json_manager->add('company', 'awesome');
$json_manager->add('product', 'json_manager');
// Adding multiple key-value pairs using an array
$json_manager->add([
'feature1' => 'easy to use',
'feature2' => 'robust',
]);
$json_manager->remove('product'); // Removes the 'product' key
$json_manager->clear_all();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.