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