Created
December 14, 2015 09:15
-
-
Save guitarrapc/f678885948596fb13c30 to your computer and use it in GitHub Desktop.
PowerShell v5 now doesn't need to read \n delimited json for ConvertFrom-Json.
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
ps | select -First 2 | ConvertTo-Json | Out-File .\hoge.json | |
cat .\hoge.json | convertFrom-Json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
v4