title: How to read an array of values from json file to c++ array
body: <p>I have a sample.json with values and an array of values.
  I'm currently using Json library to parse the json file and read the contents into C++ code.
  I know how to read a value but not sure about reading an array</p>
  
  <p>Below is the content of sample.json file.</p>
  
  <pre><code>"steering_facts" :
  {
      "SteerPolynomial": [0.0, 0.0, -0.0006148, 0.025, 16.24, -0.3823],
      "SteerRatio"     : 0.0
  }
  </code></pre>
  
  <p>Here i can read "SteerRatio" with the help of below code.</p>
  
  <pre><code>static Json::Value  jsonValues;
  if (jsonValues.isMember("steering_facts")){
      float steerRatio = jsonValues["steering_facts"]["SteerRatio"].asFloat();
  }
  </code></pre>
  
  <p>But not sure how to read SteerPolynomial array.</p>