$responder->json()
Shortcut to configure a json response
Parameters
Name | Type | Default |
---|---|---|
$json | array |null |
null |
Return type
string
|Kirby\Cms\Responder
This method modifies the existing $responder
object it is applied to and returns it again.