Most of the popular languages have JSON mechanisms that are as easy as this one to convert basic data structure into and out of JSON.
大多数流行语言都具有与这里一样简单的JSON机制,可以将基本数据结构转化为 JSON,或者转换出 JSON。
With the advent of JSON, however, the server-side code can package and ship JSON-encoded application data in response to the browser requests.
但是发明了JSON 之后,服务器端代码可以包装和发送 JSON 编码的应用程序数据来响应浏览器请求。
The policy document is JSON-formatted, but the JSON is simple enough that we don't have to resort to any fancy libraries.
这个策略文档是基于JSON 格式的,但是这个JSON 是非常简单的,所以我们不需要使用任何的程序库。
Since JSON is just plain text with a simple bracketed structure, many channels can exchange a JSON message.
由于JSON只是一种含有简单括号结构的纯文本,因此许多通道都可以交换JSON消息。
The parser code receives a JSON file as input and returns a data dictionary (or an array) containing all the objects described inside the JSON file.
解析器代码接收一个JSON对象作为输入并返回一个数据字典(或一个数组),包含JSON文件中介绍的所有对象。
JSON for data: If you have structured or semi-structured data, choose JSON.
对于数据,使用JSON:如果您拥有结构化或半结构化的数据,那么选择JSON。
Many examples using JSON show how the browser can receive JSON messages from the server using GET.
很多使用JSON的例子说明浏览器如何使用GET从服务器上接收JSON消息。
JSON-RPC is a remote procedure call protocol that USES JSON to encode and marshal arguments and return types.
JSON - RPC是一种远程过程调用协议,它使用JSON对参数和返回值进行编码和编组。
A better choice is to put the configuration values into a single JSON object and store the serialized string of this JSON object.
一个更好的选择是将配置值放入单个JSON对象并存储此json对象的序列化字符串。
But JSON allows for a few extra constructs (particularly comments) that mean this will miss input from some less-than-careful JSON creators.
不过JSON允许一些额外的结构(特别是注释),它们可能会被一些不那么小心的JSON编写者误输入了。
It then validates that it has proper type of JSON, and that the content-type response header is JSON.
然后验证是否有适当类型的JSON,并验证内容类型响应标头是否为JSON。
The invocations from client to RPC adapter are all based on JSON RPC, and the returned data is encapsulated in JSON objects, which can be parsed on the client side very quickly.
由客户机发出的对RPC适配器的调用全部基于JSON RPC,因此返回的数据被封装到 JSON对象中,后者可以在客户端快速解析。
The pattern of having individual objects represent themselves as JSON is helpful when building aggregate JSON documents.
在建立综合JSON文档时,具有将其自身表示为JSON的个别对象的模式是有利的。
Finally, you need to import the JAR files that include the JSON providers, because the example service produces data in the JSON format.
最后,需要导入包含JSON提供者的JAR文件,因为示例服务产生json格式的数据。
Creating the JSON reading application starts with creating a JSON data source.
我们由创建一个JSON数据源作为开端,来创建JSON阅读应用程序。
The JSON libraries provide a full set of methods for parsing, selecting, and updating JSON resources, which can easily be incorporated into a general purpose application.
JSON库提供用来解析、选择和更新 JSON资源的全套方法,很容易把它们合并到通用应用程序中。
JSON is completely dynamic and lets you change the way you represent data in the middle of your JSON structure.
JSON是完全动态的,允许在JSON结构的中间改变表示数据的方式。
Parsing JSON data in the application starts when the user selects the JSON button.
在用户选择JSON按钮时解析json数据就开始了。
The best resource for finding a JSON parser or toolkit is the JSON Web site (see Resources for a link).
寻找JSON解析器或工具箱最好的资源是JSON站点(有关链接,请参阅参考资料)。
Parsing JSON formatted resources requires the inclusion of JSON libraries.
解析json格式的资源需要包含json库。
Because the GWT JSON library is used to parse out the JSON string, you need to include it in the GWT module configuration file (Listing 14).
因为要使用GWTJSON库解析json字符串,需要在GWT模块配置文件中包含它(清单14)。
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对象,使您能够立即引用它。
The off-the-shelf json gems break Rails' json generation because in providing methods to both parse and generate json, they redefine the to_json method.
那些现成的json解析器破坏了Rails的json生成过程,因为在提供解析和生成json方法的同时,它们重定义了to_json方法。
Similarly, the JSON test case (Listing 3) lists a set of media types that should return JSON; namely, application/json.
类似地,JSON测试用例(清单3)列出一组应返回 JSON(即application/json)的媒体类型。
Media types such as application/xml and application/json are good enough for XML and JSON message processing in code.
就处理XML和JSON消息而言,形如application/xml和application/json的媒体类型已经足够了。
As discussed in Part 1, the conversion from JSON format to Object-C data is performed by a JSON open source parser.
如我们在第1部分讨论的,从json格式到Object - c数据的转换是通过一个JSON开源解析器执行的。
JSON content Request: Remove active content from all String values in an inbound JSON object sent to any URIs.
JSON内容请求:从发送到URI的入站JSON对象的所有string值中删除活动内容。
The clj-http code in Listing 8 converts from the JSON response by taking the body of the response and calling json/read-json on it.
清单8 中的 clj-http代码是从JSON响应转换而来的,方法是提取响应的正文并在其上调用 json/read-json。
Finally, whatever the results are, use the JSON converter from Grails to turn the list into a JSON object.
最后,不管结果如何,来自Grails的JSON转换器会将该列表转换成一个JSON对象。
Include the JAR files from the ext/wink-json-provider directory in the Apache Wink distribution: wink-json-provider-1.0-incubating.jar and json-20080701.jar.
将ApacheWink发行版的ext/wink-json-provider目录下的JAR文件包含进来:wink-json-provider-1.0-incubating.jar和 json-20080701.jar。
应用推荐