JSON Dictionary is some what a pain in the ready. But I can help out with a work around I found. I can't remember the EXACT pre and post fix, but you can find it easier.
create a c2 dictionary
var script = "{""c2dictionary"":true,""data"":"
script var add your json code
script var add "}"
Dictionary.loadJson(script)
I found this work around by mandatory requiremetns. Strangly enough you can embed a natural JSON code into a C2 Dictionary JSON by doing it in the above way. Makes life with JSON so much easier.
However there is one rule to keep in mind. Dictionary can only support 1 level deep. So you can embed data inside an internal object.
good
{
"data"; 0,
"foo": 1
}
bad
{
"object" : {"goo", 2}
"foo" : 1
}
object won't be allowed.