json
美
英 
- 網(wǎng)絡Java Script Object Notation; 數(shù)據(jù)格式; 字符串
例句
The bottom line is that JSON isn't some sort of magic bullet; it is, however, a great option for some very specific situations.
JSON并不是某種魔彈;但是,它對于某些非常特殊的情況是很好的選擇。
But to be truly multi-lingual we're going to want to be able to understand (parse) JSON, not just speak it.
可若要實現(xiàn)真正的多種標準并存,我們還要理解(解析)JSON而不是簡單地介紹它。
With a data format as rich and capable of Atom, serializing to a format as simple and basic as JSON can be problematic at best.
將Atom這樣豐富和強大的數(shù)據(jù)格式序列化為JSON這類簡單的基本格式,一定會面臨許多問題。
On the other side of the JSON controller, the application can be hooked up to MySQL, PostgreSQL, an XML file repository, or nothing at all.
在JSON控制器的另一面,應用程序可以被鉤掛(hook)到MySQL、PostgreSQL、一個XML文件存儲庫、或者什么也不掛。
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對象的序列化字符串。
Now that I've got a servlet to pump out a list of Retweets in JSON format, I'm ready to connect that data to my dashboard web page.
現(xiàn)在我已經(jīng)獲得了servlet以便用JSON格式導出一系列Retweet,我準備將此數(shù)據(jù)連接到我的儀表盤網(wǎng)頁。
To create the datastore you only have to create a model for it: a JSON file that defines the fields and options for those fields.
要創(chuàng)建數(shù)據(jù)存儲區(qū),您只需為其創(chuàng)建一個模型:定義字段以及那些字段的選項的JSON文件。
In a couple of articles, I'll spend a good amount of time on JSON, and then you'll be ready to choose between the two on your next app.
我將占用幾期文章的篇幅、用大量的時間去探討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編寫者誤輸入了。
Since the grammar of JSON is fairly simple, you can implement such a parser easily without any noticeable performance difference.
由于JSON的語法相當的簡單,您可以輕易地實現(xiàn)這種解析器,而不會帶來顯著的性能差異。
If you scroll to the bottom of the page, you'll see that the information can be exported as CSV or JSON.
如果您滾動到網(wǎng)頁的底部,您將會看到信息可以作為CSV或者JSON輸出。
Simply send in an array of data (or even a simple string) to json_encode, and a JSON object will emerge (as shown in Listing 1).
只要將一組數(shù)據(jù)(或者甚至一個簡單字符串)發(fā)送到json_encode,一個JSON對象將出現(xiàn)(如清單1所示)。
The server side has to be able to understand a JSON-formatted string and produce a server-side object in order to proceed and save the data.
服務器端必須能夠理解JSON形式的字符串并生成一個服務器端對象,以處理和保存數(shù)據(jù)。
To do that, you will write a simple Groovy method that copies the field values in a JSON object into a chart URL.
為此,您將編寫一個簡單的Groovy方法,該方法將JSON對象中的字段值復制到一個圖表URL中。
I'll use the handle departureAirportText to write out the result of the JSON call in just a moment.
稍后我將使用句柄departureAirportText寫出JSON調(diào)用的結果。
A JSON object like the one shown in Listing 1 can be inspected during development time using tools like FireBug or simple JavaScript alerts.
在開發(fā)期間,可以使用FireBug或簡單的JavaScript警告等工具檢查清單1中所示的JSON對象。
Within the JSON serialization, the language context can be captured by converting the xml: lang attribute into a field.
在JSON序列化過程中,可以將xml:lang屬性轉(zhuǎn)換為一個字段,從而捕獲語言上下文。
Instead of it returning JSON, as in the case of our data resource, we will have the resource return a reference to a view.
與我們的數(shù)據(jù)資源情形不同,它不會返回JSON,而是返回一個對視圖的引用。
JSON4J can be used to convert an XML reply from a Web service into a JSON structure for easy use in an Ajax application.
可以使用JSON4J將XML應答從Web服務轉(zhuǎn)換為JSON結構,以方便在Ajax應用程序中使用。
In these HTTP responses, only the body of the returned response is shown, in JSON format.
在這些HTTP響應中,只有返回的響應的主體顯示出來,使用的是JSON為格式。
You're also specifying JSON as the return type, which will make it easy to parse the data from JavaScript.
此外,將返回類型指定為JSON,這會使解析來自JavaScript的數(shù)據(jù)變得十分簡單。
You used REST and JSON on the front end, meaning you can use a different UI kit, or you can easily hook up a mobile client.
在前臺使用REST和JSON,這意味著可以使用不同的UI套件,或者可以輕松連接上移動客戶端。
Finally, whatever the results are, use the JSON converter from Grails to turn the list into a JSON object.
最后,不管結果如何,來自Grails的JSON轉(zhuǎn)換器會將該列表轉(zhuǎn)換成一個JSON對象。
The updateCart function is called upon the return, and the JSON values are supplied in an associative array variable called results.
updateCart函數(shù)是在返回之前調(diào)用的,JSON值是在一個稱為results的聯(lián)合數(shù)組變量中提供的。
The return data could also be in the form of JSON objects (JSON is basically a protocol for defining objects in JavaScript code).
返回的數(shù)據(jù)也可以是JSON對象格式的(JSON是用來定義JavaScript對象的一種協(xié)議)。
A JSON structure containing the name of the new fix and location of a PAK file is passed to the create method.
一個包含新補丁名和PAK文件的位置的JSON結構被傳遞給create方法。
Providing such static screens was the primary objective of Ajax technology and you can accomplish this with JSON as well.
提供此類靜態(tài)屏幕曾經(jīng)是Ajax技術的主要目標,而您現(xiàn)在用JSON也能完成此目標。
JSON Content Request: Remove active content from all String values in an inbound JSON object sent to any URIs.
JSON內(nèi)容請求:從發(fā)送到URI的入站JSON對象的所有String值中刪除活動內(nèi)容。
You could have used XML for the data transfer, but JSON is slightly more efficient and easier to work with on the client.
雖然原本可以使用XML進行數(shù)據(jù)傳遞,但在客戶機上,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是非常簡單的,所以我們不需要使用任何的程序庫。
children is a JSON array that contains the names of the child directories that are part of the current parent.
children是一個JSON陣列,還有當前目錄的子目錄名。
These data files are again JSON files, like the Resource Model definition files, and they contain objects to be loaded into the model.
與資源模型定義文件一樣,這些數(shù)據(jù)文件同樣是JSON文件,并包含將加載到模型中的對象。
The invocation is by means of a JSON-RPC (JavaScript Object Notation-Remote Procedure Call).
調(diào)用是通過JSON-RPC(JavaScript對象注釋-遠程程序調(diào)用)完成的。
While I'm at it, the JSON response will contain the URL to the user's image, name, and short biography.
之后,JSON響應將包含到達用戶圖像、名稱和個人簡介的URL。
Note: If you want more detail on the org. json or other JSON toolkits, e-mail me and let me know.
注意:如果想要獲得有關org.json或其他JSON工具箱的詳細信息,可以給我發(fā)電子郵件。
The JSON object includes both the "id" field and the "name" field for the record encoded as a JavaScript hash table.
對于作為一個JavaScript哈希表編碼的記錄,JSON對象包含“id”字段和“name”字段。
Having a JSON formatted output improves the ease with which JavaScript components can use the feed output.
擁有JSON格式的輸出可以改進JavaScript組件使用提要輸出的簡易性。
The final sanity check is to see if the JSON document was persisted to MongoDB, which you'll recall is running over at MongoHQ.
最后的健康狀況檢查是查看JSON文檔是否持久化到MongoDB,還記得嗎,MongoDB運行在MongoHQ上。
If XML had been designed for software development, it would have supported lists and maps and data types as JSON eventually did.
如果XML最初的設計目的就是軟件開發(fā),那么就應該像JSON那樣支持列表、映射和數(shù)據(jù)類型。
The uncompressed version is to send every part as an individual key in a JSON, this works but is inefficient and very hard on our system.
未壓縮版本是將每一個JSON作為一個單獨的關鍵部分,這一工作,但效率低,在我們的系統(tǒng)很辛苦。