diff options
author | MaZderMind | 2015-04-05 18:13:44 +0200 |
---|---|---|
committer | MaZderMind | 2015-04-05 18:13:44 +0200 |
commit | 02fb25f64021afde4f48699b54168b6816d8cb1e (patch) | |
tree | 0dc04690e2b2c3e82e7e392e11e1627ada8c6e8c /view/schedule-json.php | |
parent | f0c2649d97699a3f5393e712f9b38a12744a8426 (diff) |
Pretty-Print JSON (requires PHP 5.4 – whatever…)
Diffstat (limited to '')
-rw-r--r-- | view/schedule-json.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/schedule-json.php b/view/schedule-json.php index b6fdfe5..9aea603 100644 --- a/view/schedule-json.php +++ b/view/schedule-json.php @@ -10,4 +10,4 @@ if($conference->isClosed()) echo '{}'; else - echo json_encode($schedule->getSchedule()); + echo json_encode($schedule->getSchedule(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); |