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
As more powerful encodings may come in the future, I thought about a new key in the json object, e, which specifies the encoding of the object, using a two character string:
The first character representing the actual encoding of bytes. i.e. a for base64, b for base65536, - if just sending raw bytes with no encoding in the middle
The second one representing compression, allowing for gzip compression right in the client.
Whaddya think?
The text was updated successfully, but these errors were encountered:
I thought about that previously, too. The main issue is that I think it should be possible to allow a client to choose between gzip-encoding or not. Basically, this issue implies the possibility for a client/library to automagically gzip and have the client on the other side automatically decompress without having the end user to do any compression/decompression (much like gzip on HTTP)
Anyway, either r or the one I proposed in OP, we need to have a versioning system in the JSON itself.
As more powerful encodings may come in the future, I thought about a new key in the json object,
e
, which specifies the encoding of the object, using a two character string:a
for base64,b
for base65536,-
if just sending raw bytes with no encoding in the middleWhaddya think?
The text was updated successfully, but these errors were encountered: