Forum Discussion
May 13, 2015
Check out the jq command line JSON processor. You can run your curl command and use jq to parse and select elements. More details here: http://stedolan.github.com/jq
$ curl -sk -u admin:admin https://localhost/mgmt/tm/asm/policies/V9NGrsJI4rJFeyE6uYG7yw/?\$select=fullPath | jq "{fullPath: .fullPath}"`
Will return
{
"fullPath": "/Common/mysecurity-policy_443"
}
It doesn't change the amount of data downloaded but should help with client-side parsing.
-Joe