Skip to content

Kirby 4.1.2

$layouts->toJson()

Converts the object into a JSON string

$layouts->toJson(): string

Return type

string

Parent class

Kirby\Cms\Layouts inherited from Kirby\Toolkit\Collection