title: Append to array in json file from another json file with "jq"
body: <p>i have a file "stats.json" with the following initial structure"</p>
  
  <pre><code>[{
  "price": 66.55,
  "created": "2018-02-24T14:32:57"
  }]
  </code></pre>
  
  <p>With a bash/curl script i take every 10 minutes data from an api and save it to "temp.json"</p>
  
  <pre><code>{
  "price": 88.55,
  "created": "2018-02-24T15:32:57"
  }
  </code></pre>
  
  <p>I would like to merge the temp.json (which is updated every 10min) and to fill the stats.json file. I tried to do it with "jq" but without success.</p>