My requirement is not for comparison. Below is my requirement :
In the below json response , only when inventoryStatus is InStock , i have to take the SKU value using the filter to the next step . The below structure will repeat in the response . I did not get how the above mentioned steps will work for this scenario. Pls clarify more in detail.
{
"replacementDeviceList": {
"replacementDevice": [
{
"exchangeSKU": "XSAMT923TBLK",
"AStockSKU": "610214642486",
"priority": "1",
"displayOnUI": true,
"productName": "SAM T817T TAB S2 BLK EXCH",
"inventoryStatus": "BackOrdered",
"estimatedShipmentDateFrom": "2017-12-01",
"estimatedShipmentDateTo": "2017-12-06"
},
{
"exchangeSKU": "XAPP817TBLK",
"AStockSKU": "610214641755",
"priority": "1",
"displayOnUI": true,
"productName": "App iphone i7",
"inventoryStatus": "InStock",
"estimatedShipmentDateFrom": "2017-12-01",
"estimatedShipmentDateTo": "2017-12-06"
}
]
}
}