Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Created December 14, 2015 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guitarrapc/f678885948596fb13c30 to your computer and use it in GitHub Desktop.
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.
ps | select -First 2 | ConvertTo-Json | Out-File .\hoge.json
cat .\hoge.json | convertFrom-Json
@guitarrapc
Copy link
Author

v4
image

@guitarrapc
Copy link
Author

v5
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment