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