["statusFlag": 1, "confirmResult": {
customerDetail = {
directTopup = 0;
paymentMethod = "ideal";
skipSMS = 0;
trusted = 0;
};
invoiceID = sdLrhz1652515770;
message = "Unable to process the payment.";
products = {
product = (
);
total = 0;
};
status = 0;
}]
guard let jsonresponse = try JSONSerialization.jsonObject(with: jsondata, options: []) as? [String: Any] else { return }
let confirmresult = jsonresponse["confirmResult"]
im able to get the confirmResult. But i need to get one more level deeper and get the value of status . Can someone help how to parse further ?
2
0
1k