aboutsummaryrefslogtreecommitdiff
path: root/view/streams-json-v1.php
diff options
context:
space:
mode:
authorMaZderMind2016-12-29 03:55:04 +0100
committerMaZderMind2016-12-29 03:55:04 +0100
commitf7d1aa166e9f3006e17399c7dd0c236386abc4d7 (patch)
tree3e0f373089725554399475da032e8fcbeb8abbdd /view/streams-json-v1.php
parent5faaebf0454e2d35b5fccc55ef9685328680f780 (diff)
force objects in json
Diffstat (limited to '')
-rw-r--r--view/streams-json-v1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/streams-json-v1.php b/view/streams-json-v1.php
index 7962226..f64f627 100644
--- a/view/streams-json-v1.php
+++ b/view/streams-json-v1.php
@@ -92,4 +92,4 @@ foreach (Conferences::getActiveConferences() as $conference)
}
}
-echo json_encode($struct, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
+echo json_encode($struct, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_FORCE_OBJECT);