How to use index with array?
-
I use the foreach syntax.
And the array is included.
ex) myvar[0~~10...].name
The following syntaxwill throw an error
JSONPath query to parse ==> myvar[[[**CYCLE_INDEX]]].nameWhat should I do?
-
@moon
figure out ==> [([[)]]myvar[[[CYCLE_INDEX]]].name ==> myvar[([[CYCLE_INDEX]])].name
-
@moon make screenshots of the actions or attach a sample project
-
@moon
Yeah, and u can also type a space between BAS_var and square brackets instead of round brackets. In your case:
myvar[ [[CYCLE_INDEX]] ].name