aspjson
aspjson copied to clipboard
Problem parsing a json input
Hi there,
Been trying to retrieve the message & code values in the following json data:
{ "exception_count" : "2", "exceptions" : [ { "exception" : [ { "message" : "Not a valid routing number", "code" : 15 } ], "line" : 2 }, { "exception" : [ { "message" : "Not a valid routing number", "code" : 15 } ], "line" : 3 } ], "payment_total" : 0, "collection_count" : "2", "transaction_count" : "2", "error_code" : "001", "collection_total" : 811, "requested_date" : "08 06 21", "payment_count" : "0", "error_string" : "Success with exceptions", "trx_id" : "DirectNetDebit-080621" }
Any help would be much appreciated.
Thank You