MessagePack Binary Serialization Format Libraries For Delphi XE8 Firemonkey On Android And IOS

Delphi XE8 Firemonkey MessagePack Format Library Android IOSThe MessagePack format is a binary serialization format for storing data much like JSON except it is smaller and faster. There are libraries for over 50 programming languages out there and there are two different MsgPack libraries which should work in Delphi XE8 Firemonkey. These libraries should work cross platform on Android, IOS, OSX, and Windows. The first library is called QMsgPack by chinawsb and it is also found in the QDAC library. The second library is called TSimpleMsgPack and it is by Github user ymofen. Apparently the MessagePack format takes up less memory and less disk space to store data with. Additionally, it looks like it is faster to work with the MessagePack format than JSON. Pinterest and redis are two companies that are listed as using the MessagePack format. All of the different MessagePack format libraries should allow you to create/process MessagePack files in Delphi and then create/process those same files on the server of your choice whether it is PHP, Python, ASP.NET, etc. I would be interested to see some benchmarks comparing the speed of the Object Pascal MessagePack libraries against some of the Object Pascal JSON solutions. The source for the MessagePack libraries is free and they should also work with Appmethod.

Download the QMsgPack library for Delphi XE8 Firemonkey from Github. A newer version may be available from the QDAC site.

Download the TSimpleMsgPack library for Delphi XE8 Firemonkey from Github.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

MessagePack Binary Serialization Format Libraries For Delphi XE8 Firemonkey On Android And IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

One Response to MessagePack Binary Serialization Format Libraries For Delphi XE8 Firemonkey On Android And IOS

  1. Paul Heffernan says:

    Wow, I just used TSimpleMsgPack to replace Synopse serialisation and deserialisation of nested object hierarchy and it is a fraction of the code, is very understandable for me and works really efficiently and is cross-platform out of the box. Highly recommended.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE8 Firemonkey Quick Data Access Components
Free Quick Data Access Components Library For Delphi XE8 Firemonkey On Android And IOS

The Quick Data Access Components (QDAC) library out of China is a set of components and units for Delphi XE8...

Close