In SAP/ERP I am capturing the below error messages and inserting into a data table using the ‘Extract Structed Data’ activity. I need to Send these Error message in a JSON file.
After i Deserialize the string this is what i have to send in a JSON.
My Problem is the layout of the JSON file. It looks like all 4 error messages in the “Message Text” are lumped into Column-0 in the string. To send the JSON back like this would work but its not the correct/standard JSON formatting.
Could anyone please point me in the right direction on how to format this string so that each error is in its own Object. My goal is something like below