I have a scenario where i have to convert a csv file in to JSON object and use the data in script for performing data driven testing. If the file has multiple rows of data, then script should be executed for multiple iterations.
Csv File
name,description
CHOne,First Change
CHTwo,Second Change
Expected JSON format
{
"name":"CHOne",
"description":"First Change"
},
{
"name":"CHTwo",
"description":"Second Change"
}