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