07-21-2023, 02:11 PM
When trying to convert a JSON file via PowerShell:
$json = Get-Content "C:\folder1\test.txt"
$json | ConvertFrom-Json
write-output $json
I'm getting the following error:
> invalid json primitive : [.<br>
> (system.argunment.exception)
$json = Get-Content "C:\folder1\test.txt"
$json | ConvertFrom-Json
write-output $json
I'm getting the following error:
> invalid json primitive : [.<br>
> (system.argunment.exception)