Skip to content

Comment on MsgPack vs. JSON: Cut your client-server exchange traffic by 50%

Comments

I looked at it lately working in python, but was a bit disappointed that they didn't include more types (not necessary, but some sugar for sets, lists, uuids would be nice - they have lots of codes to spare at the moment) or distinction between utf8 and bytes. Lack of that leads to:

    >>> msgpack.loads(msgpack.dumps(u"ąę"))
    '\xc4\x85\xc4\x99'

Yep, the moment it couldn't encoded a datetime I knew it wasn't going to work for me.

AboutSource Built by g1lg1l

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