4 ms·
What’s the thought pattern here? Different implementations of different message formats should have a common format for representing… JSON? Why?
by orf 3y ago
What’s the thought pattern here? Different implementations of different message formats should have a common format for representing… JSON? Why?
- paulddraper 3y agoUh no. Not multiple formats. Different messaging systems, libraries, etc should use a JSON-equivalent binary format. If you'd like you could say it's messagepack, but it's not because it's a superset of the JSON model, you can't round trip it
- orf 3y agoSo, BSON? https://en.m.wikipedia.org/wiki/BSON https://en.m.wikipedia.org/wiki/BSON But the argument here seems to be that we need “one format to rule them all”, which obviously never works.