You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then a compressed line in jsonl file will look like:
{"k":"1668612831392", "v": "0xaaaaaaa"}
Where aaaaaaa is the encoded object output from msgpack5 ecncode function.
To keep back compatibility we should allow to read uncompressed existing jsonl dbs, this means that when reading the db file and compression is enabled, when v is a string we should decode it with the compression choosed, otherwise read v as before
The text was updated successfully, but these errors were encountered:
https://github.com/mcollina/msgpack5
Option:
compressMode: 'msgpack5'
default tofalse
Then a compressed line in jsonl file will look like:
Where
aaaaaaa
is the encoded object output from msgpack5 ecncode function.To keep back compatibility we should allow to read uncompressed existing jsonl dbs, this means that when reading the db file and compression is enabled, when v is a string we should decode it with the compression choosed, otherwise read v as before
The text was updated successfully, but these errors were encountered: