<script type="application/json" id="json">{"json_data":"here"}</script> <script> $(function(){ var json = JSON.parse($('#json').text()); }); </script>
<script type="application/json" id="json">{"json_data":"here"}</script> <script> $(function(){ var json = JSON.parse($('#json').text()); }); </script>