a2 / MessagePack.swift

It's like JSON, but fast and small…and Swift! – msgpack.org[Swift]
http://msgpack.org
MIT License
283 stars 60 forks source link

MessagePack.swift hello world #77

Closed jdevng closed 6 months ago

jdevng commented 6 months ago

This is working 'hello world' type code from python that follows message pack conventions, what is the equivalent in this library?

exampleMessage = { "login": { "email": email, "password": password } }

MESSAGE = msgpack.packb(exampleMessage, use_bin_type=True)