3 ms·
"The central idea behind this JSONB specification is that each element begins with a header that includes the size and type of that element." Why not add this
by 1vuio0pswjnm7 3y ago
"The central idea behind this JSONB specification is that each element begins with a header that includes the size and type of that element."
Why not add this size indication to JSON specification. Would reduce memory requirements for JSON processing.
1997: https://cr.yp.to/proto/netstrings.txt https://cr.yp.to/proto/netstrings.txt
NB. This header may be the "central idea" behind JSONB but JSONB has other differences from JSON. This comment refers only to the size indication not the other features.