Reputation: 1457
I have the following JSON data:
{
"VMs":[
{
"ID":"VM-WIN7-64",
"OS":"Windows 7",
"FLAVOUR":"VM-IE8-001-preq",
"ADAPTER":"Win 9",
"Paths":"D:\\VirtualMachines\\Win7_X64_VM-001\\Win7_X64_VM-001.vmx"
},
{
"ID":"VM-WIN7-6",
"OS":"Windows jj7",
"FLAVOUR":"VM-IE8-001-preq",
"ADAPTER":"Winjjjjj 9",
"Paths":"f:\\VirtualMachines\\Win7_X64_VM-001\\Win7_X64_VM-001.vmx"
}
]
}
In this JSON, I am getting the value "ID":"VM-WIN7-64"
. Using this ID, how can I filter the corresponding adapter name "ADAPTER":"Win 9"
from this JSON data?
Upvotes: 0
Views: 610