JSON - JavaScript Object Notation
Intro
Â
JSON is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other serializable values). It is a common data format with diverse uses in electronic data interchange, including that of web applications with servers.
Standards
Â
Â
Tools
Â
jq is a lightweight and flexible command-line JSON processor: https://stedolan.github.io/jq/
sudo yum install -y jq
Â
Query / Filter Syntax
az group list --query "[?name == '$RESOURCE_GROUP']"
The query is formatted using JMESPath, which is a standard query language for JSON requests. You can learn more about this powerful filter language at http://jmespath.org/
Â