Using jq is great for examining JSON objects.  You can extend its functionality with custom methods.  The following is useful to understand at a high level the structure of arbitrary JSONs which is useful when trying to understand new data sources.
Requires jq verison 1.5.
Add the following method to your ~/.jq: