Re: [qooxdoo-devel] json problem? qx.io.Json

2008-07-02 Thread thron7
This is a good one. I filed a bug http://bugzilla.qooxdoo.org/show_bug.cgi?id=1027 . Some basic fix has been applied, in both trunk and legacy_0_7_x (r14263). If you are sticking with 0.7.3, you might want to draw the version from legacy_0_7_x into your own code (it's short). Thomas > Hi again

Re: [qooxdoo-devel] json problem? qx.io.Json

2008-07-02 Thread Helder Magalhães
petr kobalicek-2 wrote: > > qx.io.Json.parse('{"result": {"files": [["AUTOEXEC.BAT", 0, > "source\/batch", > "", ""], ["boot.ini", 250, "document\/ini", "", ""], ["Bootfont.bin", > 4952, > "", "", ""], ["bootsect.lnx", 512, "", "", ""], ["CONFIG.SYS", 0, > "windows\/system-file", "", ""], ["IO.S

Re: [qooxdoo-devel] json problem? qx.io.Json

2008-07-02 Thread petr kobalicek
Oh and documentation says that it will return false if it can parse it, but exception is always thrown :) 2008/7/2 petr kobalicek <[EMAIL PROTECTED]>: > Hi again :) > > I have problem with qx.io.Json.parse() > > qx.io.Json.parse('{"result": {"files": [["AUTOEXEC.BAT", 0, > "source\/batch", "", ""

[qooxdoo-devel] json problem? qx.io.Json

2008-07-02 Thread petr kobalicek
Hi again :) I have problem with qx.io.Json.parse() qx.io.Json.parse('{"result": {"files": [["AUTOEXEC.BAT", 0, "source\/batch", "", ""], ["boot.ini", 250, "document\/ini", "", ""], ["Bootfont.bin", 4952, "", "", ""], ["bootsect.lnx", 512, "", "", ""], ["CONFIG.SYS", 0, "windows\/system-file", "",

Re: [qooxdoo-devel] json problem

2007-06-14 Thread johnl
I found a solution: replacing qx.io.Json.stringify(json) with escape(qx.io.Json.stringify(json)). johnl wrote: > I'm sending date to a server via json using the following code: > > req = new qx.io.remote.Request(url, qx.net.Http.METHOD_POST, > qx.util.Mime.J

[qooxdoo-devel] json problem

2007-06-14 Thread johnl
I'm sending date to a server via json using the following code: req = new qx.io.remote.Request(url, qx.net.Http.METHOD_POST, qx.util.Mime.JSON) var json = { experiment : this.experiment, year : date.getFullYear(), month : date.getMonth()