Problem access to value of some data


(gudo) #1

Hello everyone!
i have problem to access some date
my output is like that:
"alternance" => [
[0] {
"country" => "value"
}

i made alter filter and also mutate to access value but what i see is: "field" => "%{[alternance][country]}"
and what i want is "field" => "value"

Thanks


(gudo) #2

up :slight_smile:


(Magnus B├Ąck) #3

alternance contains an array of hashes. Use %{[alternance][0][country]} to extract the country subfield of the first array item.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.