English 中文(简体)
相对于XML、CSV等,哪些限制是双重序列化?
原标题:What are the limitations(minuses) have binary serialization than XML, CSV, etc?

What are the limitations(minuses) have binary serialization than XML, CSV, etc? And can you explain?

最佳回答

Unix and the Web are (historically) favoring textual Format (XML, JSON, YAML, ......) and protocol (HTTP,SMTP, ...), as they are better to debug (and to knowledge),因为她们能够使用文字工具和编辑。 许多图书馆职能(例如fcanffprintf) ......)赞成案文格式。

文本档案中可能有一些工具带有偏见(无论这种意思究竟是什么)。 例如,文本档案可能根据如下版本控制系统进行更有效的管理:<条码>git或<条码>svn...... (和<条码>diff和> 发送<>代码>> 公共事业单位正在预计成文数据,新条线将分立。

文本格式的一个可能不利之处是,在编码/编码上,可能需要更多的邮联时间,并增加磁盘空间。 (无论磁盘空间是廉价的,文字数据是压缩的,瓶颈是真实的I/O。)

如果您希望您的双元数据能与各种处理器或汇编器(或系统)相容,则你应明确采用“中性”数据格式,如XDR或ASN1和序列化图书馆(例如s11n)。

问题回答

暂无回答




相关问题
Choosing the right subclass to instantiate programmatically

Ok, the context is some serialization / deserialization code that will parse a byte stream into an object representation that s easier to work with (and vice-versa). Here s a simplified example ...

WCF Problem Sending Object To Client

Background Converting from using .Net Remoting to WCF. Most of the methods on the WCF server are working fine, but ran into one that isn t working today. This is the service contract: [...

WCF DataMember Serializing questions

Ok, so I was part way through the long winded process of creating DTOs for sending my model over the wire and I don t feel like I m going down the right route. My issue is that most of the entities ...

deserialize the XML Document --- Need Help

I am using the below code snippet now to deserialize the XML document ... [WebMethod] public XmlDocument OrderDocument(XmlDocument xmlDoc) { XmlSerializer serializer = new XmlSerializer(typeof(...

How do I serialize a child class?

how do I include the serialized data from a child class where both impliment iserializeable? Class A Implements ISerializable dim _B as new B Class B Implements ISerializable ...

WCF: Serialize complex objects with read-only members

Looking for some guidance on a WCF service I’m prototyping. I have a WCF service hosted in IIS that will pass data to my clients. I have a separate shared assembly that contains all my business ...

Long/multiple SQL queries vs Serialization

I m trying to improve the performance of my web app where a page does a long query to pull data from different tables on a database. It pulls invoice data with multiple item lines, invoice status, and ...