Greetings,
I'm stashing some JSON data to send to a template:
$self->stash(
title => "Promises kept trend",
rows => $rows,
dr_data => $json_data_series, # <<< encoded JSON
hosts_stats => $hosts_stats,
promise_stats => $promise_stats,
columns => \@columns
);
The JSON is used in some javascript in the template. It seems that Mojo
is making some unexpected (to me) changes. In the rendered page source I see
the quotes as " (<ampersand>quot; in case this gets 'formatted' by
Google). How can I fix this?
var dr_data = [
"slope",
0,
"values",
[
--
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.