Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Show comment
Hide comment
@guitarrapc
Owner

guitarrapc commented Dec 14, 2015

v4
image

@guitarrapc

This comment has been minimized.

Show comment
Hide comment
@guitarrapc
Owner

guitarrapc commented Dec 14, 2015

v5
image

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