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