I have a sample JSON-formatted here which converts fine if I use something like: https://konklone.io/json/
I\'ve tried the following code in PowerShell:
You have to select the results property inside your CSV using the Select-Object cmdlet together with the -expand parameter:
results
Select-Object
-expand
Get-Content -Path $pathToJsonFile | ConvertFrom-Json | Select-Object -expand results | ConvertTo-Csv -NoTypeInformation | Set-Content $pathToOutputFile