title: Get SubKeys of Json in JavaScript
body: <p>I have this code, but it doesn't prints subkeys....</p>
  
  <pre><code>    for (var key in result) {
          if (!result.hasOwnProperty(key)) continue;
          var obj = result[key];
          for (var prop in obj) {
              if (!obj.hasOwnProperty(prop)) continue;
              alert(prop + " = " + obj[prop]);
          }
      }
  </code></pre>
  
  <p>When is an object print: someKey[Object object]</p>
  
  <p>my result (example):</p>
  
  <p><code>[ { "branch_id": 992, "sale_id": 24422, "identifier": "", "emitter": { "id": 68, "tax_id": "", "address": { "street": "Carretera a buenavista km 21", "country_code": "MEX", } } } ]</code> </p>