You are not logged in.
Pages: 1
I know it - and almost all its alternatives... there is almost a new binary serialization format each month...
CBOR is more tied to IoT and small code size IIRC.
In practice, we support only JSON since it is fairly small in size, especially after SynLZ compression, and we have very fast parser for it.
And any app on the client side also has a JSON parser. No need to something more complicated.
For binary serialization, we have our own RTTI-based format, which is tied to Delphi/FPC RTTI, and is very efficient.
For even more efficient format, our binary reader/writer have variant integer and other stuffs which are pretty good (see for instance how the .map file from Delphi debug info is compressed into our binary format).
This is what we use on production with very good performance/compression ratio.
So we don't have time nor would particularly like to support CBOR.
But we are still looking close to every new format appearing... waiting for something worth it...
Offline
I agree with ab. One of the beautiful things about JSON is that it's human-readable and it has a huge advantage when debugging or testing.
Last edited by edwinsn (2019-08-06 04:41:56)
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Thanks for the answers.
JSON does seem more KISS
Offline
Pages: 1