Re:MessagePack: It's like JSON, but fast and small.
by ubutler on Saturday January 11, 2025 @04:02AM
(#42664465)
MessagePack can encode rows as well and then you just need to manage linking the keys during deserialization. In fact, it can encode arbitrary binary without needing base64 like JSON.
I don't think using a dictionary of key values is the way to go here. I think there should be a dedicated "table" type, where the column keys are only defined once, and not repeated for every single row.