04-11-2018 08:40 PM
I’ve got an array with one object in it, similar to this:
[ { “property” : “value” } ]
I’d like to remove it from the array and be left with an object:
{ “property” : “value” }
I’ve been playing with the mapper root, but I can’t find a syntax that will do this. Should I be using a different Snap?
Solved! Go to Solution.
04-12-2018 11:23 AM
You should be able to just use the array index value of [0] to extract the object.
ex. $myArray[0]
04-12-2018 11:23 AM
You should be able to just use the array index value of [0] to extract the object.
ex. $myArray[0]
04-14-2018 09:57 AM
perfect! exactly what i needed.