$nestcollection->toJson() Converts the object into a JSON string kirby/src/Toolkit/Collection.php#L1131 $nestcollection->toJson(): string Return type string Parent class Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Collection