$path->toJson() Converts the object into a JSON string kirby/src/Toolkit/Collection.php#L1137 $path->toJson(): string Return type string Parent class Kirby\Http\Path inherited from Kirby\Toolkit\Collection