Skip to content

Instantly share code, notes, and snippets.

@jeffyuhaoliu
jeffyuhaoliu / gist:6004713
Last active December 19, 2015 19:18 — forked from janbaer/gist:5045798
- Fixed a bug where string value of double quote causes an error "The converted JSON string is in bad format."
param
(
[string] $inputFile,
[string] $outputFile
)
if (($inputFile -eq $null) -or ($outputFile -eq $null)) {
"usage: convert_csv_to_json.ps1 [inputFile] [outputFile]"
return;
}