You are not logged in.
Pages: 1
Does moRMot2 support MessagePack? And does it provide a method like CreateFromMsgPack similar to TOrmTableDataSet.CreateFromJson?
Offline
No, in fact.
And we don't plan to support it because
1) our JSON parser is really efficient and the "non extended" format is pretty small for arrays of results
2) we have our own RTTI-based binary serialization for all the types (not only ORM)
Offline
Do you mean that serialization and deserialization for MessagePack can be implemented based on RTTI?
Could you provide a simple example?
Thanks!
Offline
Sadly no, I meant we have OUR OWN binary serialization, which is not compatible with MessagePack, and only valid between two mORMot programs with object pascal RTTI (one may be Delphi, and the other FPC, though: it will work).
Offline
thank you.
Offline
Pages: 1