dinodev / json
A PHP Library for Modify JSON
2.0.2
2021-12-08 17:35 UTC
README
A PHP Library for Modify JSON
How to Use
Namespace: DinoDev\Json\Classes
Use: DinoDev\Json\Classes\Json
Get JSON File
$Json = new Json(); $Json->getJson(__DIR__ . "/File.json"); //It will Return A Array of Json, or Error.
Write JSON File
$Json = new Json(); $Json->writeJson(__DIR__ . "/File.json", ["New JSON File" => "It's Working"]); //Will Subscribe File.Json to the Array