title: Passing JSON data to the front end using Django
body: <p>Is there a way to pass JSON objects to the front end of a web template if using the Django framework or Python in general?</p>
  
  <p>For example, if I want to send an object that has two arrays as properties (let's say <code>xvalues</code> and <code>yvalues</code>), how would I be able to use JavaScript or jQuery to do an Ajax call to obtain the object that has the properties?</p>