English 中文(简体)
Serialize vs. Json
原标题:Serialize vs. Json

现在我正在制作阿贾克斯仪器,我想知道将服务器数据与客户更好地联系起来。

Last time i used json but some time ago i hear that serialized data is faster.

谁知道什么更好?

最佳回答

一般而言,序列化的双位代表人数将小于同一物体的名人代表(而后者则少于XML代表)。

在这方面,网络转让将加快。

问题回答

值得注意的是,你将序列号(在PHP中类似工作)和json的客户(浏览器)进行了比较。 在杂草方面有一系列功能(类似于PHP如何运作),但没有本土的外缘。 我建议你在服务器和客户(黑轴)之间沟通时与 j子合作。





相关问题
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 ...

热门标签