Skip to content

Kirby 4.4.1

$nestcollection->toJson()

Converts the object into a JSON string

$nestcollection->toJson(): string

Return type

string

Parent class

Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Collection