Skip to content

Kirby 4.5.0

$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