Like under a given column, let’s say players, I’d like to store them like this:
[“playerID1”, “playerID2”]
But how do I get it to recognize the parts that are actually data?
Like under a given column, let’s say players, I’d like to store them like this:
[“playerID1”, “playerID2”]
But how do I get it to recognize the parts that are actually data?
Yeah sorry I’m back ;-;
If that example is the format you can use the Parse JSON block.
Store it like you have above, then in the Parse JSON block do this: ($$ is the stored value)
{"data":$$}
And parse value of data[0] to get the first in the list, data[1] to get the second, etc.
THAT’S SICK thanks!
so {“data”:“player1”, “player2”} would work? Also how do you add more data?
No, you would do something like this:
{"data":["player1","player2","player3"]}
If you want to get the length of “data” just put the parse value as length(data)
Here’s guide on how JSON works:
This topic was automatically closed after 17 hours. New replies are no longer allowed.