Panel::json() Returns a JSON response for Fiber calls kirby/src/Panel/Panel.php#L189 Panel::json(array $data, int $code = 200): Kirby\Http\Response Parameters Name Type Default $data * array – $code int 200 Return type Kirby\Http\Response Parent class Kirby\Panel\Panel