aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
authorMaZderMind2015-04-05 18:13:44 +0200
committerMaZderMind2015-04-05 18:13:44 +0200
commit02fb25f64021afde4f48699b54168b6816d8cb1e (patch)
tree0dc04690e2b2c3e82e7e392e11e1627ada8c6e8c /view
parentf0c2649d97699a3f5393e712f9b38a12744a8426 (diff)
Pretty-Print JSON (requires PHP 5.4 – whatever…)
Diffstat (limited to 'view')
-rw-r--r--view/schedule-json.php2
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);