[progress Communities] [progress Openedge Abl] Forum Post: Iterate The Fields In A Jsonobject

  • Thread starter Thread starter Ken Ward
  • Start date Start date
Status
Not open for further replies.
K

Ken Ward

Guest
I'm trying to parse a JSON string that looks like this: { "success":false, "response_code":1, "status_message":"One or more errors has occurred.", "errors": { "45":["Please provide valid Checking Account Number"], "46":["Please provide valid Transit Routing Number"], "35":["Please provide a valid Credit Card Number"], "43":["Please provide a valid Expiration Date"] } } I'm having issues with the "errors" object. I don't want to call jsonObject:GetArray() for every possible number that may be in there. Is there a way to iterate through the contents of this object? Thanks

Continue reading...
 
Status
Not open for further replies.
Back
Top