How to create excel file from json response

Hello,
I have invoke a REST API and able to deserialize the JSON.
My response is having inputstream/blob
I want to generate xlsx file out of this response. How can I create it?

@Namrata_Butch

Check below link for your reference

Hope this helps you

Thanks