Json 剑道UI编辑器,无法处理oData格式

Json 剑道UI编辑器,无法处理oData格式,json,kendo-ui,editor,odata,Json,Kendo Ui,Editor,Odata,我已经实现了剑道ui图像浏览器。我的read函数返回odata格式的json(d.results) 有办法处理odata格式吗?因为我认为imageBrowser没有使用kendo数据源。那么,有没有办法将数据解析为简单的json格式,或者在某个地方设置odata类型呢?您是否在模式上尝试了“parse”方法? imageBrowser: { messages: { dropFilesHere: "Drop files

我已经实现了剑道ui图像浏览器。我的read函数返回odata格式的json(d.results)


有办法处理odata格式吗?因为我认为imageBrowser没有使用kendo数据源。那么,有没有办法将数据解析为简单的json格式,或者在某个地方设置odata类型呢?

您是否在模式上尝试了“parse”方法?
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"
                    }
                }