Json::write()
Writes data to a file
Json::write(string $file, $data = [ ]): bool
Parameters
Name | Type | Default |
---|---|---|
$filerequired | string |
no default value |
$data | mixed |
[ ]
|
Return type
bool
Parent class
Kirby\Data\Json
inherited from Kirby\Data\Handler