blob: 140ae5669396556ae283d04683925117f63a1642 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Google's excellent Visualization suite requires you to format your Javascript
data very carefully. It's entirely possible to do this by hand, especially with
the help of the most excellent JSON::XS but it's a bit fiddly, largely because
Perl doesn't natively support data types and Google's API accepts a super-set of
JSON - see "JSON vs Javascript" below.
This module is attempts to hide the gory details of preparing your data before
sending it to a JSON serializer - more specifically, hiding some of the hoops
that have to be jump through for making sure your data serializes to the right
data types.
Every effort has been made to keep naming conventions as close as possible to
those in the API itself.
WWW: https://metacpan.org/release/Data-Google-Visualization-DataTable
|