newbie here. would anyone know how can i match the value of list x to the value of list y's key["id"]?
thank you in advance! appreciate any help. =)
list x = ["open_box", "close_box"];
list y =
[
{
"id": "open_box",
"name": "Open",
"action": ["open_box"]
},
{
"id": "close_box",
"name": "Close",
"action": ["open_box", "close_box", "pull_box"]
},
{
"id": "pull_box",
"name": "Pull",
"action": ["open_box", "close_box", "pull_box", "push_box"]
}
]