Interacting with JSON-based APIs from the command line can be difficult, and OpenStack is filled with REST APIs that consume or produce JSON. I’ve just put pair of tools for generating and filtering JSON on the command line, called collectively json-tools. Both make use of the Python dpath module to populate or filter JSON objects. The jsong command generates JSON on stdout. You provide /-delimited paths on the command line to represent the JSON structure.