$response->setJsonContent(array("status" => "OK"));
$response->setJsonContent(array("status" => "OK"), JSON_NUMERIC_CHECK);
public setJsonContent ( array $content, integer $jsonOptions = null ) : static | ||
$content | array | |
$jsonOptions | integer | consisting on http://www.php.net/manual/en/json.constants.php |
return | static |