Re: [w3c/IndexedDB] Prebuilt IndexedDB format (#224)

I think it would be bad to base this on json when indexeddb can store so much more than json types. So importing/exprting databases would be problematic for dates, blob/files, typedarrays, BigInts, circular refs, and everything else that can be strucutred structural cloned. 

cbor would be a good alternative. as it can handle all of those things. 
it's a binary format. so it would be smaller in size and probably faster to decode/encode then json?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/224#issuecomment-1356431065
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/issues/224/1356431065@github.com>

Received on Saturday, 17 December 2022 19:45:34 UTC