aspjson icon indicating copy to clipboard operation
aspjson copied to clipboard

Problem parsing a json input

Open heberr2021 opened this issue 3 years ago • 0 comments

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

heberr2021 avatar Aug 06 '21 16:08 heberr2021