Use deepcopy when serializing subtrees
在序列化子树时使用deepcopy
If serializing XML, be aware of namespace fixup.
如果序列化XML,一定要注意命名空间修正。
Three features distinguish XStream from any other serializing tool.
和其他序列化工具相比,XStream有三个突出的特点。
In those cases, serializing the entirety of the object is unnecessary.
在此情况下,没有必要序列化整个对象。
When serializing XML data, the target type determines the type of encoding used.
当序列化XML数据时,目标类型决定了所使用的编码类型。
Most of the browsers support a built-in function for parsing and serializing JSON.
大多数浏览器支持内置的解析和序列化JSON的函数。
A domain determines the parser that is used when parsing and serializing the message.
域确定了在解析和序列化该消息时使用的解析器。
In the simplest case, you would only be concerned with de-serializing a piece of XML.
最简单的情况下,只需要关心xml片段的反序列化。
Because serializing an object is so easy, it should be easy to deserialize one too, right?
序列化一个对象是如此地容易,那么反序列化对象也很容易,对不对?
My task is now to use this to create a tool for serializing WordNet into XML upon request.
现在的任务是利用这种数据结构创建一个工具将WordNet序列化为所需要的XML。
You must also create all the code for serializing the data going between the client and server.
此外,还必须创建用于序列化客户机和服务器之间的数据流的所有代码。
You'll see the greatest performance boosts from deepcopy when serializing large descendant trees.
在序列化大型后代树(descendanttrees)时,会看到deepcopy将使性能得到巨大的提升。
Then you work with those classes, loading XML data into them and then serializing their data back to XML.
然后使用这些类加载XML数据,将其中的数据序列化为 XML。
This is an important principle for serializing RDF models for SOAP transmission: to avoid in-line declarations.
这是序列化用于SOAP传输的rdf模型的一个很重要的原则:避免内联声明。
The Ruby code in Listing 4 shows the entire contents of the global context by serializing it within the HTML response.
清单4中所示的Ruby代码通过在HTML响应中对此全局上下文进行序列化展示了其完整内容。
The RHTML file in Listing 7 shows the entire contents of the global context by serializing it within the HTML response.
清单7中的RHTML文件通过在HTML响应内序列化来显示全局上下文的全部内容。
RDF is a specification that defines a model for representing the world, and a syntax for serializing and exchanging that model.
RDF是一种规范,它为表示世界而定义了一个模型,并且采用一些语法来对这个模型进行序列化和交换。
None of these, however, are language-neutral, and serializing instances of them into XML is difficult and sometimes impossible.
然而,这些类中没有一个是语言中立的,并且将它们的实例序列化到XML中非常困难,有时甚至是不可能的。
Rather than serializing the object, pull the data out of the object and put it into a dictionary. Then serialize the dictionary.
不要序列化对象本身,而是把数据从对象中提取出来,放到一个字典里,然后再序列化那个字典。
That standard is called canonicalization and it is a standard mechanism for serializing XML. Canonicalization comes in two forms.
这个标准称为规范化,它是序列化XML的标准机制。
There is also an additional overhead incurred when serializing or deserializing view state data that is posted back to the server.
对发回服务器的视图状态数据进行序列化或取消序列化时,也会发生额外的开销。
In addition to serializing your objects, you may want to apply some specific encoding to the byte representation before sending it across a network.
除了序列化对象,可能想在通过网络发送字节表示之前,在它上面应用一些特定的编码方案。
Obviously, a parser must understand the format of the messages that it will be parsing and serializing. There are two basic approaches to writing a parser
显而易见,解析器必须理解它将解析和序列化的消息的格式。
The token and token secret can be persisted anywhere (such as a database or registry); serializing them to a file is only a suggested solution for this article.
令牌和令牌机密可在任何地方(比如数据库或注册表)存留;将它们序列化到一个文件仅是本文建议的一种解决方案。
Base 128 Varint representations - int32, int64, uint32, uint64, sint32, sint64, bool, enum Varints are a method of serializing integers using one or more bytes.
基本的128Varint表示-int32,int64,uint32,uint64,sint32,sint64,bool,enumVarints是使用一个或多个字节来序列化整数的一种方法。
If the object argument, SRC, is a simple type, then the second step, serializing the value of the object, is a simple matter of calling the src.toString method and writing that out.
如果对象参数src属于简单类型,那么第二步,序列化对象的值,就很简单,只需调用src .toString方法,然后把它写出来就行了。
Literal encoding simply means that instead of having the Web service and the client agree to follow a set of rules for serializing the data, they agree on the exact format of the data.
文字编码就意味着Web服务和客户机同意使用数据的精确格式,而不是让它们同意遵循一组用于序列化数据的规则。
What about the performance of serializing authentication requests over two named pipes (one for all user authentication requests and another one for all group authentication requests)?
如果通过两个命名管道(一个处理所有用户身份验证请求,另一个处理组身份验证请求)对身份验证请求进行序列化处理,那么性能会怎么样?
The component of the broker that converts a bit stream into a logical message tree (parsing), and a logical message tree back into a bit stream (serializing or writing), is called a parser.
将位流转换为逻辑消息树(解析)以及将逻辑消息树转换回位流(序列化或编写)的代理组件称为解析器。
If the value is not a simple data type (such as string, integer, and so on) then a WS.Binder should be specified that is capable of serializing the value into the appropriate XML structure.
如果该值不是一个简单数据类型(例如,字符串、整数或其他),则应该指定一个能将该值序列化为适当的XML结构的WS .Binder。
应用推荐