icingadb-web/library/Icingadb/Data
Sukhwinder Dhillon b60448bc77
Fix leading comma in JSON export (#1349)
When exporting JSON with a limit and a page > 1 set, a leading comma is added
before the first item because `$offset !== 0` evaluates to true, resulting in
invalid JSON.

Replace the offset‑based condition with a `$first` flag to track whether any
item has been written yet.
2026-03-25 15:11:05 +01:00
..
CsvResultSet.php License source files as GPL-3.0-or-later 2026-03-11 14:03:05 +01:00
CsvResultSetUtils.php License source files as GPL-3.0-or-later 2026-03-11 14:03:05 +01:00
DependencyNodes.php License source files as GPL-3.0-or-later 2026-03-11 14:03:05 +01:00
JsonResultSet.php License source files as GPL-3.0-or-later 2026-03-11 14:03:05 +01:00
JsonResultSetUtils.php Fix leading comma in JSON export (#1349) 2026-03-25 15:11:05 +01:00
PivotTable.php Change implicit nullable type declaration to explicit 2026-03-19 22:08:30 +01:00
VolatileCsvResults.php License source files as GPL-3.0-or-later 2026-03-11 14:03:05 +01:00
VolatileJsonResults.php License source files as GPL-3.0-or-later 2026-03-11 14:03:05 +01:00