Skip to content

Instantly share code, notes, and snippets.

@logicminds
Last active September 25, 2020 20:32
Show Gist options
  • Save logicminds/85389a49a03893f02917ae30d2bb129b to your computer and use it in GitHub Desktop.
Save logicminds/85389a49a03893f02917ae30d2bb129b to your computer and use it in GitHub Desktop.
$hashdata = {
"product_teams" => [
{
"name"=> "iphone",
"token"=> "apple"
},
{
"name"=> "xbox",
"token"=> "grapes"
}
]
}
$hashdata.each | $index, $examplefile| {
debug::break()
$name = $examplefile['product_teams']['name']
$token = $examplefile['product_teams']['token']
}
@SridharSambu
Copy link

Thank you , Its is really helpful, Greatly appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment