$files->toJson()
Converts the object into a JSON string
$files->toJson(): string
Return type
string
Exceptions
| Type | Description |
|---|---|
JsonException |
for invalid JSON |
Parent class
Kirby\Cms\Files
inherited from Kirby\Toolkit\Collection
Converts the object into a JSON string
$files->toJson(): string
string
| Type | Description |
|---|---|
JsonException |
for invalid JSON |
Kirby\Cms\Files
inherited from Kirby\Toolkit\Collection