I pulled in a CSV and need a json string for each row.
df looks like:
index Name uniqueApplicationId Description
0 ABC da: ABC ABC is an application
1 FER da: FER FER is an application
2 TAR da: TAR TAR is an application
I'm wanting a JSON string output for each row in the format of:
{"Name": "ABC", "uniqueApplicationId": "da: ABC", "Description": "ABC is an Application"}
Rather than requesting a json file from a customer I'm asking for a CSV. I import the CSV into a dataframe and now need the data converted to do a rest call to an api that will generate the data I need into the system. The body of the Post needs a json formatted in the format listed above. I want to ignore the index.