AnsweredAssumed Answered

Rest JSON deserialization converted to key=value

Question asked by esseti on Jul 18, 2013
Latest reply on Jul 19, 2013 by esseti
Hi all.
i've a problem with the rest functions, especially the start one.
i send data in this way:

{
   "processDefinitionKey":"sid-f7f670e1-a6cf-42a7-b824-f88446256b7f",
   "variables":[
      {
         "name":"processId",
         "value":108
      },
      {
         "name":"data",
         "value":[
            {
               "lastname":"my lastname",
               "birthday":"my birthday",
               "name":"my name"
            }
         ]
      },
      {
         "name":"task_instance",
         "value":82
      }
   ]
}

now, inside one of my task i load the "data", but what i get is this:

[{lastname=my lastname, birthday=my birthday, name=my name}]

that's wrong.

how can i solve this problem?

Outcomes