Fetch the value from json output

Hi ,I need to fetch the TransferToOhKey value where ChargeType is “TRANSFER_OUT”.

Kindly refer the text file for input

kindly help me out
deJson.txt (45.1 KB)

Have a view on this video


feel free to decompose the longer line

myJObject("ChargeTransactionDetails")("ChargeTransactionDetail").Where(Function (x) x("ChargeType").Value(of String).Equals("TRANSFER_OUT")).Select(Function (x) x("TransferToOhKey").Value(of String)).ToArray

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.