I'm not sure how to name these elements properly, it'll be easier just to show it. I have following JSON:
{
"DEV": [
{
"GitEmail": "[email protected]"
}
],
"TEST": [
{
"GitEmail": "[email protected]"
}
],
"PROD": [
{
"GitEmail": "[email protected]"
}
]
}
I would like to get the "DEV" by providing it's email. How to implement that in powershell?