Open
Description
Since the GetData method translates JSON to key-value pairs when posting to the OC server, it seems that there are some details missing.
an object such as:
{ people: [], animals: ['cat', 'dog'] .... }
is translated to something like:
data.animals[] = 'cat'
data.animals[] = 'dog'
Notice that there are no entries for people because there are no values in that array.
When serialised back to JSON, the people property is undefined. This can be handled by the client, but it is not an ideal side effect.
Metadata
Metadata
Assignees
Labels
No labels