Skip to content

Kirby 4.1.2

$items->toJson()

Converts the object into a JSON string

$items->toJson(): string

Return type

string

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Collection