title: Variable assignment in python from json output (wildcard)
body: <p>I'm currently working with a chunk of .json that is output from an API call.
  I'm trying to grab certain pieces of this data and assign them to variables so that I can then use them in certain reformatted messages.</p>
  
  <p>Here is an example of what my .json output is:</p>
  
  <pre><code>{
    "content": {
      "HTTP": {
        "obsess": "1",
        "check_command": "check_http",
        "active_checks_enabled": "1",
        "process_performance_data": "1",
        "last_state_change": "1421870740",
        "last_event_id": "1"
      }
      "PING": {
        "obsess": "1",
        "check_command": "check_ping!100.0,20%!500.0,60%",
        "active_checks_enabled": "1",
        "process_performance_data": "1",
        "last_state_change": "1373404110",
        "last_event_id": "0",
      }
  }
  </code></pre>
  
  <p>Working with this output, I have created a variable assignment for some of the variables, but I cannot figure out how I should use a wildcard to substitute for 'HTTP, PING, etc'</p>
  
  <pre><code>service_name = (service['content']['[]']['last_state_change'])
  </code></pre>
  
  <p>Is this something that can be done simply? In some json calls, I know that .[] can be used as a wildcard. I have attempted replacing '[]' above with '*' and just [] but have not yet been successful.</p>
  
  <p>My goal is to grab the same chunk of data (in this example "last_state_change") from every possible entry where 'HTTP' and 'PING' are located.</p>
  
  <p>Any help would be appreciated, if this isn't possible by just substituting in something I'm willing to take any suggestions.</p>