You are here

function _warden_json_output in Warden 6

1 call to _warden_json_output()
warden_status_page in ./warden.page.inc
Page callback.

File

./warden.page.inc, line 149
Logic for warden output

Code

function _warden_json_output($data) {
  header('Content-Type: application/json');
  echo json_encode($data);
  exit;
}