Code: Select all
["test{"submit":"test2"}"]
This is what I would expect.
Code: Select all
["test",{"submit":"test2"}]
Code: Select all
["test","test1",{"submit":"test2"}]
Code: Select all
[["test","test1"],{"submit":"test2"}]
If I had a json object like this: {"test":1,"test1":2}, then I would expect this:
Code: Select all
[{"test":1,"test1":2},{"submit":"test2"}]
For now, the workaround is not to use the argument parameter with the json method. If you need to have a set argument, then use <input type=hidden>.
---
Also, if someone does try to tackle this, there's also this: http://forums.rptools.net/viewtopic.php ... 5&#p263585
Look at the next post in thread by me for the TL;DNR.
---
Let me add to this. When I pass as part of the value of an input, like when I format the text on a submit button, the form processes it as %EF%BF%BD which gives me the little square value which I assume is MT's unknown character. In my case, this isn't important but it's unexpected behavior.