I am working on a Django / Python website. I have a page where I want to display a table of search results. The list of results is passed in to the template as normal.
Look this answer too.
But it isn't highload way. You must:
a) Create JSON files, place to disk or S3. In case is JSON static
b) If JSON is dynamic. Generate JSON on separately url (like API) in your app.
And, load by JS directly in any case. For example:
$.ajax('/get_json_file.json')
P.S.: Sorry for my English.