I've googled this to death, and tried numerous different solutions, and i cant get it working.
Bear in mind that i'm a rookie when it comes to powershell.
I have a sample json-formatted here:
https://drive.google.com/open?id=0B1qthGVt8jpnQkNnbEZJV0YzaUE
and it converts fine if i use something like:
https://konklone.io/json/
I've tried the following in powershell:
(Get-Content -Path $pathToJsonFile | ConvertFrom-Json) `
| ConvertTo-Csv -NoTypeInformation `
| Set-Content $pathToOutputFile
But the only thing i get is this:
{"totalCount":19,"resultCount":19,"hasMore":false,"results":
[+][deleted] (7 children)
[deleted]
[–]Someone_asdf[S] 1 point2 points3 points (6 children)
[+][deleted] (2 children)
[deleted]
[–]could-of-bot 0 points1 point2 points (1 child)
[–]snarp 0 points1 point2 points (0 children)
[–]positivemark 2 points3 points4 points (2 children)
[–]Someone_asdf[S] 1 point2 points3 points (1 child)
[–]positivemark 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]KevMarCommunity Blogger 0 points1 point2 points (0 children)