Parsing JSON at the CLI: A Practical Introduction to jq and more
I've been frequently derided for demoing it but I should write something about how to do similar tricks with PowerShell, as I have found it easier to learn than jq and an underrated tool in dealing with JSON.<p>The first example:<p><pre><code>  ConvertFrom-Json $USERX | ConvertTo-Json | Set-Clipboard
</code></pre>
Getting properties by name:<p><pre><code>  ConvertFrom-Json $ORDER | select order*</code></pre>