Skip to content

Kirby 4.1.2

$pages->toJson()

Converts the object into a JSON string

$pages->toJson(): string

Return type

string

Parent class

Kirby\Cms\Pages inherited from Kirby\Toolkit\Collection