Talk:Comparison of data-serialization formats: Difference between revisions

Content deleted Content added
Dun Nic (talk | contribs)
Dun Nic (talk | contribs)
Line 226:
 
Have a nice day :) [[User:Dun Nic|Dun Nic]] ([[User talk:Dun Nic|talk]]) 19:22, 14 October 2022 (UTC)
 
== Additional characteristics for comparison ==
 
Hi, I' missing a key characteristic (at least, it's key to me).
 
Lacking a better name for it, we can refer to it as '''streaming'''. A data serialization format supporting streaming would mean that it supports a '''unlimited''' amount of '''items in one''' data '''stream'''.
 
For instance:
 
* [[CSV]] supports one item per line.
* [[Log file]]s support one item per line.
* [[YAML]] supports multiple "documents".
* [[Multipart/form-data]] supports many "parts" and even of different MIME types.
* [[JSON]] on the other hand, does not allow concatenation of multiple documents.
* The same goes for [[XML]], it demands only one root node (closed).
 
Have a nice day :) [[User:Dun Nic|Dun Nic]] ([[User talk:Dun Nic|talk]]) 19:39, 14 October 2022 (UTC)