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