不再需要编写对象的序列化代码或者使用第三方工具才能把对象变成XML。
You don't need to write object serialization code or use third-party tools to turn your objects into XML.
我记得有一次,我们在谈持久化对象存储的事情,说来说去都是对象的序列化和访问机制。
I remember on one occasion, we were talking about building a persistent object store. It was all about object serialization and access mechanisms.
一个更好的选择是将配置值放入单个JSON对象并存储此json对象的序列化字符串。
A better choice is to put the configuration values into a single JSON object and store the serialized string of this JSON object.
如果应用程序运行正确,写到测试环境系统输出文件的消息包含数据对象的序列化XML内容,包括签出的附件。
If the application works correctly, the message written to the test environment system output file contains the serialized XML contents of the data object, including the checked out attachment.
使用这里介绍的JSON方式,就没有办法针对每个请求对对象的序列化进行裁剪,所以不需要的字段可能经常会在网络上发送。
Using the JSON approach illustrated here, there's no way to tailor objects' serialization on a per-request basis, so unneeded fields may often be sent across the network.
与低层API相比,XMLEventWriter 使用的基于事件对象的序列化器 API由更少的方法组成。
The event object-based serialization API embodied by XMLEventWriter consists of fewer methods than the low-level API.
图2展示了一个示例XML文档,该文档表示序列化之后的数据对象。
Figure 2 shows an example of an XML document that represents the data object after serialization.
评估从同一组对象是否可以创建不同的、定制的数据序列化。
Assesses whether different, customized data serializations can be created from the same set of objects.
我们有了一个包含数组对象并且以json格式序列化的字符串。
We have a string that contains our array object, serialized in JSON format.
放到会话中的对象应该是线程安全的和可序列化的。
Objects that you put on the session should be thread-safe and serializable.
它将尝试检索上面所述的序列化对象。
通过对象,不需要再对对象中容纳的信息进行序列化、传输和反序列化。
With objects, there is no need to serialize, transport, and de-serialize the information contained within the object.
不带参数的构造器确保可以根据序列化状态远程构造对象。
A non-argument constructor ensures the object can be constructed remotely from a serialized state.
为使序列化能够发生,需要满足两个条件:必须为序列化器授予受支持的类型,并且待序列化的对象必须是非空的。
Two conditions need to be satisfied in order for serialization to happen: the serializer must be given a supported type and the object to be serialized must be non-null.
当在另一个平台上的SOAP工具包接收到序列化的对象时问题发生了。
The problem occurs when the SOAP toolkit in another platform receives the serialized objects.
但UIMA使用的是外部序列化,而不是一个序列化接口(那会让它的对象变得臃肿),这就需要在序列化数据方面做大量的工作。
But UIMA was using externalization for serializing rather than serializable interface which was making its objects bulky and lots of work was needed to serialize data.
修改后的XML数据可以轻松地序列化,并在不同对象或多层环境(SOA)的不同层之间传递。
The modified XML data can be easily serialized and passed between different object or in a multi-tiered environment (SOA) between different tiers.
其结果是序列化的(“冻干的”)UI对象,可以直接用于应用程序中。
The results are serialized (" freeze dried ") UI objects that are ready to be used in an application.
一旦所有部分都通过验证(必要时可用WSDL),反序列化的对象就被传递,用于业务处理。
Once all the parts have been verified (using WSDL if necessary), the deserialized objects are passed on for business processing.
SOAP绑定将响应对象中的值解码成能够序列化到 SOAP 响应消息中的值需要经过同样复杂的过程。
The SOAP binding goes through the same complexity to decode the values in the response object into values it can serialize into a SOAP response message.
本简介旨在推荐几种情况,在这几种情况下,YAML提供的对象序列化格式比XML所提供的更佳。
This introduction is intended to suggest some situations where YAML provides a better object serialization format than XML.
所以如果两次序列化一个单例对象,这两个序列化得到的对象会持有两个不同的标识。
So if you serialize one singleton twice, the two serialized objects take on separate identities.
序列化完成后,数据图由三部分组成:模式、序列化的数据对象和更改摘要,如图9 所示。
Once serialized, the Data Graph is composed of three parts: the schema, the serialized Data Objects, and the Change Summary, as shown in Figure 9.
Serializable接口不包含任何方法。它的作用只是告诉序列化运行时这个对象是可以序列化的。
The serializable interface does not contain any methods: it exists only to tell the serialization runtime that your object is serializable.
在反序列的时候如果自定义类在FlashPlayer中,你也可以将先前序列化的对象映射回自定义类实例。
You can also map serialized objects back to custom class instances provided the custom class is in the Flash Player when things are deserialized.
在单一地址空间中运行时,易变的可序列化对象的Pass - by - copy语义。
Pass-by-copy semantics for mutable serializable objects when running in a single address space.
清单8所示的应用程序搜索并反序列化alice的MessagingPreferences对象。
The application shown in Listing 8 searches for and deserializes Alice's MessagingPreferences object.
因为需要跨组件传递上下文对象,所以这个对象应该是可序列化的。
Since the context object needs to be passed across components, the object should be serializable.
也有一些情况,你需要创建一个SDO对象(或一系列sdo对象)新的实例,并且将其序列化到一个XML中。
There are also situations when you would need to create a new instance of an SDO object (or a graph of SDO objects), and serialize that into XML.
此外,由于数据图是由数据对象组成的,因此它是可序列化的。
Moreover, as it is composed of Data Objects, a Data Graph is serializable.
应用推荐