Skip to content

Comment on Msgpack can't differentiate between raw binary data and text stringsparent

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.