title: Assign php object to the jquery variable with laravel
body: <p>I would like to assign json object to the jquery variable. But when i try it i get error:</p>
  
  <pre><code>htmlentities() expects parameter 1 to be string, object given (View: /var/www/html/resources/views/index.blade.php)
  </code></pre>
  
  <p>What's the easy way to do this?
  Here is my code:</p>
  
  <pre><code>        var data = {};
          data = "{{$stationData}}";
  </code></pre>