3 ms·
I've seen very large JSON files passed around in zipped form, and there's a Python library that reads them in this form (afaict without first creating an uncomp
by mcswell 6y ago
I've seen very large JSON files passed around in zipped form, and there's a Python library that reads them in this form (afaict without first creating an uncompressed version of the entire zipfile). I would think if you zipped a JSON file where the fields are repeated, the compression algorithm would pick up on this and compress those field names (including their quotes and trailing colon etc.). Or do I misunderstand how compression works?