This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This will format http://openantrag.de/api/proposal/ID/gettop/100 JSON files into CSV | |
# | |
$list = @() | |
foreach($file in Get-ChildItem -Filter proposal-*.json .) { | |
$list += ((Get-Content -Encoding UTF8 $file) -join "`n" | ConvertFrom-Json) | |
} | |
# Inspect Result graphically: PS1> $list | Out-GridView |