Created
March 6, 2023 18:40
-
-
Save non-static/163d081073ddc4431651818f10ec98ab to your computer and use it in GitHub Desktop.
How to format json file with PowerShell? #I-hate-powershell#
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
Get-Content jsonfile.json | ConvertFrom-Json | ConvertTo-Json -Depth 100 | Set-Content -Path newfile.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment