for me, i want to achieve is, in my json data, to be something like
{"mykey": "value1:, "mykey2":  [2darray]}.
Here is the cumbersome format i'm getting using construct dict and array
{"c2dictionary":true,"data":{"name":"Project1","value":"{\"c2array\":true,\"size\":[10,2,1],\"data\":[[[\"cons 1\"],[\"2\"]],[[\"cons 2\"],[\"4\"]],[[\"cons 3\"],[\"5\"]],[[\"cons 4\"],[\"2\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]],[[\"\"],[\"\"]]]}"}}
I've been trying out somethings by trying to follow the examples, but when i set the key or value to a defined variable in my program or content of some array, it doesnt reflect, it only reflects when i add some raw string or integer(not a variable with data stored in it). I also fear for the challenge i might encounter when trying to read the data back from my my backend.
Kindly help. Thanks
  chrismaliszewski
chrismaliszewski
if you have an Array whose AsJson gives you
{
    "c2array":true,
    "size":[3,2,2],
    "data":
    [
>         [ 
>             [10,32],[12,48]
        ],
        [
>             [72,26],[80,32]
        ],
        [
>             [-28,16],[-22,20]
        ]
    ]
}[/code:f84pylqi]
What would you want to transform it into?
(or maybe use your own example, mine uses just random numbers)