question

mr22120237 avatar image
mr22120237 asked

User Data Key Question with Json

Maybe it's a stupid question but pls help me....

I am trying to set Json Data on CloudScript , but the Key will come up with [0].

So I try to take out the [ ] ,then the data will not be set...

What am I doing wrong ?

How should I code to set Key(DailyTask) correctly ?

PS: I can successfully upload a serialized json data from client and with excepted Key(DailyTask) .

success.jpg (32.5 KiB)
success-1.jpg (12.2 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
mr22120237 avatar image
mr22120237 answered

I have figure it out by using JSON.stringify()...

But if there is a better efficient way , pls tell me

Thanks!

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.