Trying to pull information from a variable array?


#1

I have this variable set up. Not sure if type is correct. However, these are locations from my piston for $places. Is there an expression I can use to index through them and pull out what I need for each location.

Something like {test}.[$index].n.

I’m just not sure how to Setup that expression. Any help would be appreciated.

Here is my current variable as is


#2

Try adding parse json on that variable. Then output $json to the console and see what it returns. I have a feeling it might not work since the data isn’t in double quotes.

Also any information about the rest of the piston, like how this variable is populated


#3

Not sure how to use Json. Help with tgat would be appreciated.

As far as how being populated tilt being set from another piston with $args. So basically

Set test to variable.$args


#4

What I am really trying to do is get around the 10 presence location limit by setting two instances of webcore and each would have own locations


#5

A better solution here would be, if it can be done, is to do something like this :

“Home \ webcore instance “ with $places.[$index].n


#6

Find the parse json action. Set it to parse your variable that you have that information in. Then use log to console $json