Skip to content

Kirby 4.5.0

Json::response()

Prepares the JSON response for the Panel

Json::response($data, array $options = [ ]): Kirby\Http\Response

Parameters

Name Type Default
$data * mixed
$options array [ ]

Return type

Kirby\Http\Response

Parent class

Kirby\Panel\Json