menu 8 Menu Overview $blocks->toJson() Converts the object into a JSON string $blocks->toJson(): string Return type string Inherited from Kirby\Toolkit\Collection Source code kirby/src/Toolkit/Collection.php#L1118