Hi Naveen,
if you want to write the entire JSON String into CSV
You can create custom java action with help of java
One approach could be to use an Import Mapping to convert the JSON into a Mendix object. You can then use the CSV module (available in the Marketplace) to export this object as CSV.
https://marketplace.mendix.com/link/component/108605
I hope this helps. Good luck.