Re: [qooxdoo-devel] Object of qx.util.Json.parse()

2011-06-03 Thread comm1x
I already try to use .createModel() I dont know how to use it.. this code was maked by analog to your code. But it does not work. var jsonModel = qx.data.marshal.Json.createModel(text, true); //var addRow = new qx.data.Array(); getArrayObject.forEach(addRow, jsonModel); -- View this message in co

[qooxdoo-devel] JSON to Simple

2011-06-03 Thread comm1x
Hi all I tried to search for the decision of the problem at a forum, but and haven't found. I write the container which accepts JSON-data and set them in the table. Application.js: // var scenario = ([ {id: 1, name: "fs", after: [

[qooxdoo-devel] Object of qx.util.Json.parse()

2011-06-02 Thread comm1x
Hi all! I have a object: var jsonData = qx.util.Json.parse(...); After this I want to send data from json to table Simple. But i dont know how use this var. I tried use jsonData as array, but it was stupid idea: this.debug(jsonData.getLength()); How I can get a data from jsonData? Thank you. -