Skip to content

Kirby 6.0.0

$languages->toJson()

Converts the object into a JSON string

$languages->toJson(): string

Return type

string

Exceptions

Type Description
JsonException for invalid JSON

Parent class

Kirby\Cms\Languages inherited from Kirby\Toolkit\Collection