title: How to get a specific section of JSON into a string?
body: <p>I'm new to JSON, node.js and javascript... I have a small node.js server that fetch a JSON object(named weatherData below) from openweathermap.org and I'm trying to make it display only a specific part of the JSON object(a section called "temp"). So far I used:</p>
  
  <pre><code>var tempString = JSON.stringify(weatherData);
  </code></pre>
  
  <p>And then I used search and substring methods of string to get my info but there's got to be an easier way right? How do I only display the temp section without using string methods?</p>
  
  <p>EDIT: When I stringify the whole thing I get this</p>
  
  <blockquote>
    <p>"{\"coord\":{\"lon\":-75.7,\"lat\":45.41},\"sys\":{\"type\":3,\"id\":119304,\"message\":0.0297,\"country\":\"CA\",\"sunrise\":1413804390,\"sunset\":1413842906},\"weather\":[{\"id\":802,\"main\":\"Clouds\",\"description\":\"scattered
    clouds\",\"icon\":\"03n\"}],\"base\":\"cmc
    stations\",\"main\":{\"temp\":273.05,\"humidity\":84,\"pressure\":1012.188,\"temp_min\":273.05,\"temp_max\":273.05},\"wind\":{\"speed\":1.11,\"deg\":260.506},\"rain\":{\"3h\":0},\"clouds\":{\"all\":44},\"dt\":1413780770,\"id\":6094817,\"name\":\"Ottawa\",\"cod\":200}\n"</p>
  </blockquote>