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 |
[ ] |
Prepares the JSON response for the Panel
Json::response($data, array $options = [ ]): Kirby\Http\Response
Name | Type | Default |
---|---|---|
$data * | mixed |
– |
$options | array |
[ ] |