Skip to content

Kirby 4.2.0

$path->toJson()

Converts the object into a JSON string

$path->toJson(): string

Return type

string

Parent class

Kirby\Http\Path inherited from Kirby\Toolkit\Collection