Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert csv to json powershell

cd into the directory with the csv file you want to convert to JSON

$topicsjson = import-csv .	he_csv_file.csv | ConvertTo-Json
$topicsjson | Add-Content -Path "output_file_name.json"
 
PREVIOUS NEXT
Tagged: #convert #csv #json #powershell
ADD COMMENT
Topic
Name
6+1 =