Start with the largest object and let the tool recursively find elements to convert.
从最大的对象开始,让工具递归地查找要转换的元素。
You can then convert directly to this object to a JSON string and add it to the request as a parameter.
随后可以直接将此对象转换为一个JSON字符串并将其作为参数添加到请求中。
When this data object is serialized to XML using the convert API, these elements are written back.
当该数据对象使用转变api被序列化到XML时,这些元素就会被写回。
Type attributes indicate to Castor what TypeConvertor should be used internally to convert between object and relational data types.
类型属性向Castor指示:该在内部使用什么TypeConvertor来在对象和关系数据类型之间进行转换。
So, for example, by specifying the return object as a type "json", jQuery will automatically convert the response String from a server into a json object, allowing you to reference it immediately.
所以,例如通过将返回对象指定为“json ”类型,jQuery将能自动将来自服务器的响应字符串转换成json对象,使您能够立即引用它。
You can also convert properties to regular expressions and numeric ranges from within the Verification Point Editor, or the test object map.
您还可以将属性转变成正则表达式及VerificationPointEditor中的或测试对象地图中的数值范围。
Here you'll create a basic PHP encoder object that represents an Activity Streams feed when you convert it to a string (for example, by using the PHP echo statement with it).
这里您将创建一个基本的PHP编码器对象,当您将它转换成一个字符串时(例如,通过使用PHPecho语句进行处理),它会表示一个ActivityStreams订阅源。
One simple way to convert this data is to create general parser code that converts JSON data into an Objective-C application data object.
转换这类数据的一个简单方法是创建一个通用解析器代码,该代码可以将 JSON 数据转换成一个Objective-C应用程序数据对象。
The method call on the orb string_to_object() will simply take our ior string and convert it to an object reference. Here is the code from our client, SimpleCalcClient.java
对orb string_to_object()的方法调用只取得ior字符串,并将它转换成对象引用。
A result handler is used to convert a result set contents into an object.
结果处理程序用于将一个结果集的内容转换成一个对象。
Basically, you peel off each property of the new issue object and convert to a message parameter.
本质上是,您将新问题对象的每个属性去掉,并且将其转换成消息参数。
This primitive can be used within a flow to convert native data to a business object and vice versa.
该原语可以在流内部使用,将本地数据转换为业务对象,反之亦然。
Use the adapter pattern when you need to convert an object of one type to an object of another type.
在需要将一类对象转换成另一类对象时,请使用适配器模式。
Use typecast to convert the returned object to the desired service interface type.
使用型态转换将返回的对象转换成期望的服务接口类型的对象。
Custom data conversion is necessary if you need to convert field data into an application-specific value object, as in the following examples.
如果需要将字段数据转换为特定于应用程序的值对象,则需要自定义数据转换,如下面例子所示。
Using these functions, we can convert and export our object structures and make data from our PHP database connections available to our Ajax applications using json_encode .
使用这些函数,我们可以转换和导出对象结构,还可以使用json_encode使来自PHP数据库连接的数据可用于Ajax应用程序。
To make the data useful to your script, you need to first cast the return value to a Boolean object, and then convert that object to a primitive Boolean.
为了使得数据有用,您需要首先把返回值转换为Boolean对象,然后将其转变为原始boolean值。
Now to output the different elements of the page, you load each object, convert it to XHTML with parseJsonML, and output the result.
下一步需要输出页面中的不同元素,我们加载各对象并使用parseJsonML 将其转换为XHTML,然后输出结果。
This merged structure tells JiBX how to convert the XML tree to and from the object tree.
这种合并的结构告诉JiBX如何在xml树和对象树之间相互转换。
We have created an array object to store our results information in a format that json_encode could read and convert to a json string.
我们已经创建了一个数组对象来存储json_encode可以读取和转换为json字符串格式的结果信息。
The following method sends the updates to the service to update the broker information, using a framework API to convert the data object to an XML string.
下列方法通过使用框架API以将数据对象转变为 XML 字符串的方式向服务发送这些更新,从而更新broker信息。
Simplexml - simplexml extension provides a very simple and easily usable toolset to convert XML to an object.
simplexml- simplexml扩展提供了极其简单并易于使用的工具集,以便将xml转换成对象。
To convert an XPath expression from a String to an XPathExpression object, which can then be applied to any node in an instance of the supported data model.
将XPath表达式从String转化为XPathExpression对象,然后将该对象应用于所支持的数据模型实例中的任何节点。
Consider the state of the application when an Employee object is populated with user data and subsequently needs to convert this to JSON and send the JSON to the client.
当Employee对象中填充了用户数据,并且需要将它转换为JSON并将该JSON发送给客户机时,请考虑应用程序的状态。
To convert a JSON string from the body of a POST or PUT into a JSON object, use the syntax.
将POST或者PUT主体中的JSON字符串转换为JSON对象,采用如下语法。
The client must convert the IOR to a realistic object with the Add method that it can call to.
客户机必须用add方法将IOR转换成它可以调用的实际对象。
It is the job of the resource collection to convert the query object to a query string in a format expected by the feed servlet, such as SQL or XPath.
资源集合要负责将查询对象转换为采用FeedServlet所预期的格式的查询字符串,如SQL或Xpath。
Listing 2 begins by using the simplexml_load_file object to send a request to the feed URL and convert the response into a simplexml object.
清单2首先使用simplexml_load _ file对象发送一个请求到提要URL并将响应转换成simplexml对象。
Then it USES the SimpleXML extension to convert the string-formatted XML contents into a PHP object.
然后,它用SimpleXML扩展将字符串格式的XML内容转换成一个php对象。
Then it USES the SimpleXML extension to convert the string-formatted XML contents into a PHP object.
然后,它用SimpleXML扩展将字符串格式的XML内容转换成一个php对象。
应用推荐