この項の内容は次のとおりです。
JSONはJavaScript Object Notationの頭字語で、軽量なデータ交換に使用される言語です。これにより、マシンにとって解析と生成が簡単になりますが、人間にとっても読み書きが簡単です。JSONは言語に依存しませんが、CおよびCファミリの他のプログラミング言語(C++、Java、Python、Perlなど)に基づいた規約が使用されます。
コントリビュータが開かれると、JSON構成オブジェクトは、リセット、更新およびプレビュー用のフラグを渡します。
JSONはデータ転送形式ですが、LocalData、ResultSets、ResultSet、フィールドおよび行のデータ・バインダの概念は依然として存在します。また、一部の構成情報は、データ・バインダの概念なしでコントリビュータに渡されます。
コンソールに、コントリビュータとコンテンツ・サーバーとの間のアクティビティがすべて表示されます。次の例は、JSONで渡されたコンテンツ・アイテムをチェックアウトするリクエストです。
2009/7/18-15:13:34:0737 - REQUEST - [index.htm] HTTP Request (http_05201522250333165144): "url": http://myvmware/stellent/idcplg, "contentType": application/json, "postdata": { "LocalData" : { "IdcService" : "SS_CHECKOUT_BY_NAME", "dDocName" : "loafer_frontpage" }, "ResultSets" : { } } 2009/7/18-15:13:34:0815 - RESPONSE - [index.htm] HTTP Response (http_05201522250333165144): "status": 0, "message": Succeeded, "status text": OK, "response text": { "LocalData": { "wfAction": "CHECKOUT", "dReleaseState": "Y", "isFinished": "0", "dDocAccount": "", "refreshSubjects": "", "IsWorkflow": "", "CurRevID": "615", "dActionDate": "8/18/09 4:14 PM", "refreshMonikers": "", "dRevClassID": "71", "dCheckoutUser": "sysadmin", "IdcService": "SS_CHECKOUT_BY_NAME", "changedSubjects": "documents,1250624531742", "RedirectParams": "IdcService=CHECKOUT_OK&dID=\u003c$dID$\u003e&CurRevCheckoutUser=\u003c$url(CurRevCheckoutUser)$\u003e&CurRevID=\u003c$CurRevID$\u003e\u003c$if IsWorkflowInfo$\u003e&IsWorkflowInfo=\u003c$IsWorkflowInfo$\u003e\u003c$endif$\u003e\u003c$if ClientControlled$\u003e&ClientControlled=\u003c$ClientControlled$\u003e\u003c$endif$\u003e\u003c$if inQueueRedirect$\u003e&inQueueRedirect=1\u003c$endif$\u003e", "changedMonikers": "", "dSecurityGroup": "Public", "IsNotLatestRev": "", "dActionMillis": "36900553", "dStatus": "RELEASED", "dRevLabel": "9", "dAction": "Check out", "dID": "615", "dWorkflowState": "", "dPublishState": "", "dIsCheckedOut": "1", "dClbraName": "", "prevReleaseState": "", "refreshSubMonikers": "", "isCurRevEmpty": "", "latestID": "615", "CurRevIsCheckedOut": "0", "dUser": "sysadmin", "XmlEncodingMode": "Full", "CurRevCheckoutUser": "sysadmin", "dDocName": "loafer_frontpage" }, "ResultSets": { } }
コンソールの詳細は、第15章「コントリビュータ・コンソール・ウィンドウ 」を参照してください。