Imagine you have a JSON structure that looks like this:
[
{
"name":"Foo"
"nickname":"Lorem Ipsum"
},
{
"name":"Bar"
"nickname":"Dolor Sit"
}
]
Now, the goal is to extract the nickname of an item based on its value. Is there a way to achieve this in JavaScript?