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
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
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", "", ""
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", "",
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
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()