title: How to view a JSON file in Django
body: <p>So I have a JSON file and I want to iterate over it and display the information using Django. How do I do that and do I need to set up a Model like normal? How do I transfer this data to the database model using SQLite?</p>
  
  <p>I found this code on a similar stackoverflow question but I don't know how to show the data like via HTTPResponse so the user can view the data:</p>
  
  <pre><code>import json
  
  json_data = open('/static/prices.json')   
  data1 = json.load(json_data) // deserialises it
  data2 = json.dumps(json_data) // json formatted string
  
  json_data.close()
  </code></pre>