Skip to content

Kirby 4.4.1

$query->toJson()

Converts the data array to json

$query->toJson(): string

Return type

string

Parent class

Kirby\Http\Request\Query