$directory
$directory : string
Tool for reading and writing JSON files
$directory : string
$commandManager : \App\CoreModule\Models\CommandManager
read(string $fileName, bool $forceArray = true) : array|\stdClass
Reads the JSON file and decode it to array
string | $fileName | File name (without .json) |
bool | $forceArray | Force object to array conversion |
JSON data in array