Lauri Ojansivu
640e492593
Uploaded JSON is parsed from the file a chunk at a time; a Mattermost export a line at a time.
...
A JavaScript string cannot be longer than about 512 MB, so reading an
uploaded JSON export with readFile and JSON.parse could not read a larger
one at all. server/lib/streamJson.js builds the value from the file as it
is read - every escape, surrogate pairs and chunk boundaries anywhere,
the same value and the same refusals as JSON.parse, a __proto__ key as
an own property, nesting bounded. A Mattermost bulk export is read a line
at a time; the other text formats are read as one text up to 256 MB and
refused with that reason beyond it.
Thanks to xet7 !
2026-11-20 06:14:07 +02:00
..
2026-11-20 06:14:07 +02:00
2026-09-28 17:23:15 +03:00
2026-11-18 22:25:34 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-09-27 17:05:01 +03:00
2026-09-28 04:37:02 +03:00
2026-11-02 11:25:57 +02:00
2026-05-31 11:12:41 +03:00
2026-03-24 01:50:39 +02:00
2026-11-02 14:15:02 +02:00
2026-11-18 22:25:34 +02:00
2026-10-14 16:46:59 +03:00
2026-11-02 14:15:02 +02:00
2026-11-15 14:11:10 +03:00
2026-11-18 21:39:15 +02:00
2026-10-14 13:15:39 +03:00
2026-03-24 01:50:39 +02:00
2026-10-14 12:09:34 +03:00
2026-11-18 21:39:15 +02:00
2026-10-27 14:52:06 +02:00
2026-10-16 23:45:35 +03:00
2026-10-14 15:24:57 +03:00
2026-11-13 17:45:05 +02:00
2026-03-24 01:50:39 +02:00
2026-10-09 12:52:21 +03:00
2026-10-14 08:20:49 +03:00
2026-10-14 15:41:26 +03:00
2026-11-11 22:29:01 +02:00
2026-11-20 06:10:37 +02:00
2026-11-20 06:10:13 +02:00
2026-11-02 14:15:02 +02:00
2026-11-04 14:50:33 +02:00
2026-11-01 14:00:19 +02:00
2026-11-04 14:50:33 +02:00
2026-08-09 03:43:07 +03:00
2026-10-25 07:23:31 +02:00
2026-10-14 12:43:36 +03:00
2026-07-27 23:39:37 +03:00
2026-11-20 05:42:27 +02:00
2026-11-20 06:10:37 +02:00
2026-10-14 14:54:38 +03:00
2026-03-24 01:50:39 +02:00
2026-05-31 02:22:31 +03:00
2026-10-21 15:30:32 +03:00
2026-10-15 01:27:26 +03:00
2026-11-19 01:27:40 +02:00
2026-09-28 02:30:48 +03:00
2026-08-16 15:52:54 +03:00
2026-08-16 16:17:13 +03:00
2026-11-06 19:24:04 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-10-08 12:44:46 +03:00
2026-07-21 10:06:41 +03:00
2026-10-14 12:43:36 +03:00
2026-03-24 01:50:39 +02:00
2026-09-27 22:20:46 +03:00
2026-09-27 17:33:38 +03:00
2026-09-27 17:33:38 +03:00
2026-09-27 22:20:46 +03:00
2026-11-20 05:42:27 +02:00
2026-10-14 09:28:45 +03:00
2026-10-31 14:54:22 +02:00
2026-10-02 20:53:38 +03:00
2026-03-24 01:50:39 +02:00
2026-11-06 19:24:04 +02:00
2026-07-22 16:22:39 +03:00
2026-09-19 14:00:48 +03:00
2026-11-06 19:24:04 +02:00
2026-06-13 17:19:51 +03:00
2026-09-29 14:34:18 +03:00
2026-03-24 01:50:39 +02:00
2026-11-18 22:25:34 +02:00
2026-11-20 06:10:13 +02:00
2026-11-06 19:24:04 +02:00
2026-03-24 01:50:39 +02:00
2026-11-06 19:24:04 +02:00
2026-06-12 20:15:56 +03:00