Combining JSON arrays into a single JSON array -- better way than this?

ikelaiah iwan.kelaiah at gmail.com
Mon Aug 1 21:59:31 UTC 2022


On Monday, 1 August 2022 at 16:11:52 UTC, frame wrote:

> ... because loading all in memory while not necessary is wasted 
> memory if you have large files to process.

Noted with thanks. Actually, some JSON input files are pretty 
large (>1Mb).

> I would just process each file and write it to the file 
> directly but it always depends on the intended purpose.

Noted as well. Thank you, this will come handy in the future.

-ikel




More information about the Digitalmars-d-learn mailing list