News for hackers. Stuff that matters.
Re:Msgpack can't differentiate between raw binary data and t... by jrmg on Saturday February 23, 2013 @03:34AM (#5269018)
The conflict here seems to be between people who think any arbitrary valid msgpack stream should be decodable into a specific object graph, and those who assume msgpack will be used to implement a protocol where only messages of a predefined format should be allowed - hence the decoding app will know beforehand what should be a string and what shouldn't.

The conflict is unresolvable until the participants agree on which of these two distinct things msgpack should be.

Re:Msgpack can't differentiate between raw binary data and t... by dietrichepp on Saturday February 23, 2013 @04:23AM (#5269103)
I don't see the conflict here. Spend one bit per string encoding whether it's UTF-8 data or a binary blob.

* The people who use it to implement protocols already have to deal with types, e.g., expected a number but got a string. So one more type is not a big deal.

* The people who use it to create discoverable profiles will... use JSON no matter how good MessagePack gets.

That's not the direction I was headed when I started writing, but I don't think the first group you mentioned even exists.