diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/streams-json-v1.php | 2 | ||||
-rw-r--r-- | view/streams-json-v2.php | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/view/streams-json-v2.php b/view/streams-json-v2.php index 524f2db..1fad78f 100644 --- a/view/streams-json-v2.php +++ b/view/streams-json-v2.php @@ -102,4 +102,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); |