4 ms·
Transit: https://github.com/cognitect/transit-format https://github.com/cognitect/transit-format Transit has the following features: - self-describing - allo
by abernard1 8y ago
Transit: https://github.com/cognitect/transit-format https://github.com/cognitect/transit-format
Transit has the following features:
- self-describing
- allows extension types on top of base types
- strong value types + dynamic serialization
- can transparently pass through data without consumer knowing about schema
- has "repeated key" optimization in the encoder to allow compression in the stream
- allows transparent binary encoding with msgpack
- is stream-based, so processing can begin immediately unlike JSON which has enclosing {}
This set of features basically allow transparent proxying to JSON as well, which is something that proto2/3 cannot do without updating the proxy.