How to print a value by comparing 2 fields inside JSON – RestAssured
Consider the following dataset: [ { "_id": 1234, "bagnumber": "A", "bagtype": "coin" }, { "_id": 2345, "bagnumber": "B", "bagtype": "cash" }, { "_id": 3456, "bagnumber": "C", "bagtype": "coin" }, { "_id": 5678, "bagnumber": "D", "bagtype": "cash" } ] I need…