This is a wrapper for the C MessagePack parser, as an easy to use bridge to Objective-C, which my employer has graciously permitted us to open source:

https://github.com/chrishulbert/msgpack/tree/master/objectivec

In a similar way to the JSON framework, this parses MessagePack into NSDictionaries, NSArrays, NSNumbers, NSStrings, and NSNulls.

It contains a small patch to the C library so that it doesn't segfault with a byte alignment error when running on the iPhone in armv7 mode.

If you're using JSON or XML to communicate from your servers to your iPhone app, you should strongly consider using MessagePack for size and speed: in our tests, gzipped MessagePack was roughly half the size of gzipped JSON, and is much faster to parse to boot.

Thanks for reading! And if you want to get in touch, I'd love to hear from you: chris.hulbert at gmail.

Chris Hulbert

(Comp Sci, Hons - UTS)

Software Developer (Freelancer / Contractor) in Australia.

I have worked at places such as Google, Cochlear, Assembly Payments, News Corp, Fox Sports, NineMSN, FetchTV, Coles, Woolworths, Trust Bank, and Westpac, among others. If you're looking for help developing an iOS app, drop me a line!

Get in touch:
[email protected]
github.com/chrishulbert
linkedin



 Subscribe via RSS