2 ms·
I've lately toyed with using Avro in place of JSON and found it shows some fairly substantial savings. It has a JSON encoding as a backstop for places where the
by jacques_chester 7y ago
I've lately toyed with using Avro in place of JSON and found it shows some fairly substantial savings. It has a JSON encoding as a backstop for places where the binary encoding isn't kosher.
Section 1.5 of the RFC nails the colours to I-JSON with a "MUST". Do you envisage any amendment to allow equivalent encodings? I know this is indirectly discussed elsewhere, I'm just going through an Avro infatuation.
- chrismorgan 7y agoAll JMAP servers must support that format, but that doesn’t preclude supporting other formats via extensions. We use custom compression, for example; and a WebSocket transfer layer for the API parts, instead of HTTPS, is being standardised. In such cases, the server declares its support for such capabilities in the session object (which will be in the baseline format, JSON), and clients that know about them can opt into their behaviours, knowing that the server supports it.