Comparison of data-serialization formats: Difference between revisions

Content deleted Content added
JayMoog (talk | contribs)
Moved Apache Thrift up (alphabetical order) Added row for Fast-DDS
rm entry without wikipedia article
Line 171:
| {{yes|[https://google.github.io/flatbuffers/flatbuffers_guide_writing_schema.html Yes]}}
| C++, Java, C#, Go, Python, Rust, JavaScript, PHP, C, Dart, Lua, TypeScript
| {{yes}}
|-
| [[Fast-DDS]]
| [https://www.eprosima.com/index.php eProsima]
| [[Common Object Request Broker Architecture|CORBA]]
| {{yes}}
| [https://www.eprosima.com/index.php/resources-all/whitepapers/dds DDS White paper]<br>[https://www.eprosima.com/index.php/resources-all/whitepapers/dds DDS Resources]<br>[https://www.omg.org/spec/DDSI-RTPS/2.2 RTPS Spec V2.2]
| {{yes}}
| {{partial|[https://github.com/eProsima/Fast-DDS-monitor Yes<br>With tools:<br>e.g. Fast DDS Monitor]}}
| {{dunno}}
| {{yes}}
| {{yes|[[Python]],[[C++]]}}
| {{yes}}
|-
Line 328 ⟶ 316:
| {{yes}}
| {{no}}
|-
| Preserves
| Tony Garnock-Jones
| -
| {{yes}}
| [https://preserves.dev/preserves.html Specification]
| {{yes|[https://preserves.dev/preserves-binary.html Yes]}}
| {{yes|[https://preserves.dev/preserves-text.html Yes]}}
| {{yes}}
| {{yes|[https://preserves.dev/preserves-schema.html Yes]}}
| {{n/a}}
| {{n/a}}
|-
| [[Property list]]
Line 695 ⟶ 671:
| <code>(lI01\na(laF-421000000.0\naS'A to Z'\na.</code>
| <code>(dI42\nI01\nsS'A to Z'\n(lI1\naI2\naI3\nas.</code>
|-
| Preserves
| <code><null></code>
| <code>#t</code>
| <code>#f</code>
| <code>685230</code>
| <code>685230.15f</code>
| <code>"A to Z"</code>
| <code>[#t <null> -421000000.0f "A to Z"]</code>
| <code>{42: #f "A to Z": [1 2 3]}</code>
|-
| [[Property list]]<br>(plain text format)<ref name="gnustep">{{cite web|url=http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html|title=NSPropertyListSerialization class documentation|website=www.gnustep.org|access-date=2009-10-28|archive-url=https://web.archive.org/web/20110519164921/http://gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html|archive-date=2011-05-19|url-status=dead}}</ref>
Line 912 ⟶ 878:
| Data specifications {{mono|SET OF}} (unordered) and {{mono|SEQUENCE OF}} (guaranteed order)
| User definable type
|- style="vertical-align:top;"
| Binn
| <code>\x00</code>
| {{ubli
| True: <code>\x01</code>
| False: <code>\x02</code>
}}
| [[Big-endian]] [[2's complement]] signed and unsigned 8/16/32/64 bits
| {{ubli
| [[Single-precision floating-point format|Singles]]: [[big-endian]] [[binary32]]
| [[Double-precision floating-point format|Doubles]]: [[big-endian]] [[binary64]]
}}
| [[UTF-8]]-encoded, null-terminated, preceded by int8 or int32 string length in bytes
| Typecode (1 byte) + 1–4 bytes size + 1–4 bytes items count + list items
| Typecode (1 byte) + 1–4 bytes size + 1–4 bytes items count + key/value pairs
|- style="vertical-align:top;"
| [[BSON]]