title: How to display a row content in json format in node?
body: <p>am trying to fetch the data from sql server 2008 via Node using Drivers. Somehow i can get the data successfully.. My Question is how to display it in Json format.</p>
  
  <p>My code is like this:</p>
  
  <pre><code>execSql("select * from tblStudent", function (err,rows) {
  
          console.log("City_StrCode:"  + rows[0].value);
          console.log("State_StrCode:"  + rows[1].value);
          console.log("City_StrName:" + rows[2].value);
  
  
  });
  </code></pre>
  
  <p>Right now my results after querying the database is like this:</p>
  
  <pre><code>City_StrCode:0005
  State_StrCode:ORS
  City_StrName:Ratnagiri12
  City_StrCode:1002
  State_StrCode:78899
  City_StrName:thousandtwo
  City_StrCode:1010
  State_StrCode:1001
  City_StrName:U FOOL34
  Status:true
  City_StrCode:105
  State_StrCode:001
  City_StrName:dgrt12
  City_StrCode:1789
  State_StrCode:001
  City_StrName:XZAS12
  </code></pre>
  
  <p>Suggest me something...</p>