I am trying to save a large JSON file into a variable using requests module but only part of the JSON is making it into the variable when using the following:
r = requests.get(url)
r.json()
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?