title: Trying to print the Nested Json
body: <pre><code>var key = " ";
  var myBio = {
                "name":"Sathya",
                 "age":"23",
              "position":"Soft.Engineer",
               "email":
                       {
                         "email1":"sathya@gmail.com",
                          "email2":"sathya@knstek.com"},
                       };
  
  for (key in myBio){
     var y = myBio[key]; 
     console.log(key+" : "+ y);   
          }
  </code></pre>
  
  <p><strong>output:</strong> </p>
  
  <ul>
  <li>name : Sathya</li>
  <li>age : 23</li>
  <li>position : Soft.Engineer</li>
  <li>email : [object Object]</li>
  </ul>
  
  <p><strong>Required Output:</strong> </p>
  
  <ul>
  <li>name : Sathya</li>
  <li>age : 23</li>
  <li>position : Soft.Engineer</li>
  <li>email : 
  
  <ul>
  <li>email1:sathya@gmail.com</li>
  <li>email2:sathya@knstek.com</li>
  </ul></li>
  </ul>
  
  <p>I can print this Emails separately using another loop. But I want to print with main loop only . Any ways to do this using JavaScript?? </p>