You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 26, 2026. It is now read-only.
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.
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:
is translated to something like:
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.