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