Hi folks,
Today I will explain the code to implement the Json2CSV conversion.
Make sure you have valid JSON file with an array of objects.
Sample:
"Users":[
{"id": 1, "Name": "Suresh Raju", "Age": 35},
{"id":2, "Name": "PSR", "Age": 34}
]
I have chosen Python language to convert because of inbuilt library support for json and csv and command line execution with Notepad++ as editor.
Source Code Snippet: GitHub Gist
Please send your valuable feedback and comments to psrdotcom@gmail.com
No comments:
Post a Comment