I should be happy for the support provided so efficient so fast
you have managed to extract the list but it is no longer quite the starting point or you think that I can do the rest
Do you want the full set to be shown?
You can loop through the object. Unfortunately, Thunkable does not have a block to delete/remove a key pair from an object.
to tell you the truth, I was able to send objects one after the other in a spreadsheet but I wanted to send the json string (composed of several objects) at once and I did not find an accessible script to make it happen
See my new demo. I created 2 empty objects. One to hold the original JSON and one for the newly created JSON.
Now, I loop through the keys of the original JSON and test if the key is vdata. If yes then I loop through the content of this key, otherwise, I copy the key value pair as is.
with these blocks i try to flatten a list of ojbects saved in list tosheet but the loop loops when there is only one object in the list (I start small)
This is because you do copy/paste of the loop block.
You have to use a new block from the Control drawer. If you copy the block it will share the variable name and may create unexpected problems in the results.
I know it’s borderline off topic but the list thus created is not considered as json
as json validator told me
then I transformed the list into a string Jason Jason validator said ok but when I parse in my script it no longer works (a very simple script to know who does what)
I should have just sent the objects one after the other🙂