Skip to content

Kirby 4.2.0

$query->toJson()

Converts the object to a json string

$query->toJson(...$arguments = null): string

Parameters

Name Type Default
... $arguments mixed null

Return type

string

Parent class

Kirby\Http\Query inherited from Kirby\Toolkit\Obj