Replies: 1 comment 2 replies
-
|
Welcome!
No, not really. I've played with the idea before. Note that it's not just JSON, we'd need to replace JSON + JSON-Schema. The two requirements are: schemas for type-safety and self-describing. The latter rules out something like protobuf. It has been a while, but if I remember correctly from the ones I looked at (msgpack, bson, ...) apache avro looked the most promising.
That's true on many platforms. For web it's actually the opposite. While messagepack is denser and easier to parse, any JS implementation is handily outperformed by the natively provided JSON parsers in V8/JSCore/SpiderMonkey.
It would always be optional based on the content-type header. I'm curious, what platforms are you considering to build for? How critical is this? Are you specifically interested in msgpack? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any reason as to only use json for TB?
Generally speaking a format like messagepack is usually faster to transmit & parse.
Can we make it optional in both the backend and the client libraries?
Beta Was this translation helpful? Give feedback.
All reactions