I have a API which returns JSON response every single time whenever called, Response example:-
{
"data": [
{"id":1,"name":"A","class":"AA" },
{"id":2,"name":"B","class":"BB" },
{"id":3,"name":"C","class":"CC" },
]
}
I want to create a Excel file from the received response with selected fields in this case just id and name. Can anyone please tell me how I can do this? Thanks.
csvlibrary.