@Abhiram-4455,
Assuming you have the following input where you can have multiple records per CSV input:
Name,class,grade,address,first_url,second_url
John,10th,A,New York,https://www.facebook.com,/brnds-coupons/offers
sam,9th,A,Dallas,www.google.com,www.amazon.com
You can use the following processors to do your transformation:

Where each processor is configured as the following:
- ConvertRecord: is to convert from CSV format to JSON

CSVReader: (use default settings)

Note: you can adjust the "Value Separator" in case the CSV delimiter is different from ",".
JSONRecorSertWriter: (use default settings)

- JoltTransformationJSON:

where "Jolt Specification" is set to the following:
[
{
"operation": "shift",
"spec": {
"*": {
"*": "[&1].&",
"first_url": "[&1].url.&",
"second_url": "[&1].url.&"
}
}
}
]
The output shouldlook like the following:
[
{
"Name": "John",
"class": "10th",
"grade": "A",
"address": "New York",
"url": {
"first_url": "https://www.facebook.com",
"second_url": "/brnds-coupons/offers"
}
},
{
"Name": "sam",
"class": "9th",
"grade": "A",
"address": "Dallas",
"url": {
"first_url": "www.google.com",
"second_url": "www.amazon.com"
}
}
]
if you need to process each record separately you can use SplitJson processor:

Use the "split" relationship to get the split records.
Hope that helps.