Panel::json()
Returns a JSON response for Fiber calls
Panel::json(array $data, int $code = 200): Kirby\Http\Response
Parameters
| Name | Type | Default |
|---|---|---|
| $data * | array |
– |
| $code | int |
200 |
Returns a JSON response for Fiber calls
Panel::json(array $data, int $code = 200): Kirby\Http\Response
| Name | Type | Default |
|---|---|---|
| $data * | array |
– |
| $code | int |
200 |