In my current project I have got some .csf files with the requirement to import these files
to my project as base data to use it as inmemory repository.
The best solution was these single line of code in powershell.
Get-Content -path $inputFile | ConvertFrom-Csv -Delimiter ';' | ConvertTo-Json | Out-File $outputFile
You can download the complete powershell script from my gist repository at github.