title: How to get large size JSON files using requests module in Python
body: <p>I am trying to save a large <code>JSON</code> file into a variable using <code>requests</code> module but only part of the <code>JSON</code> is making it into the variable when using the following:</p>
  
  <pre><code>r = requests.get(url)
  
  r.json()
  </code></pre>
  
  <p>I see there are ways to save it in chunks when writing to a file is there a way to do this when writing to a variable?</p>