Click here to Skip to main content
15,912,329 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to convert Json output getting from response object to Csv or in Excel format at a specified location. Please let me know
Posted
Updated 15-Jan-14 18:47pm
v2
Comments
Jameel VM 16-Jan-14 0:58am    
you can use the normal FileWriter class to write that text in to a specified location

Try this link
Create CSV from JSON in C#[^]
Hope this helps
 
Share this answer
 
Comments
Karthik_Mahalingam 16-Jan-14 0:34am    
5!
You can try like this to save desired path.
C#
string path =" your path to save ";
      string contents = "your content after converting to csv";
      File.WriteAllText(path, contents);


Please use this as reference http://msdn.microsoft.com/en-us/library/ms143375(v=vs.110).aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900