剣道UIの画像ブラウザを実装しました。私の読み取り関数は、json を odata 形式 (d.results) で返します。
imageBrowser: {
messages: {
dropFilesHere: "Drop files here"
},
schema: {
model: {
id: "Id",
fields: {
name: {field: "Name" },
type: { field: "Type" },
size: { field: "Size" }
}
}
},
transport: {
read: {
url: xxx
dataType: "json",
type: "GET",
contentType: "application/json"
}
}
odata 形式を処理する方法はありますか? imageBrowser は剣道データソースを使用していないと思うので。データを単純にjson形式に解析する方法、またはodataタイプをどこかに設定する方法はありますか?