title: Is there any way convert Django model queryset to json or json string in template?
body: <p>I want to combine react (or vue) with django template, but I don't want to change the backend to restful api. So I wonder is there any way convert Django model queryset to json or json string in template, so that I can fetch the data from dom used in jsx or vue.</p>
  
  <p><a href="https://i.stack.imgur.com/UZ7le.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UZ7le.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/BhuzX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BhuzX.png" alt="enter image description here"></a></p>