How JSON data is formatted

Hi,
I am building an plugin for which i got to pass data to widget.
It’s difficult for me to understand how the JSON data is passed to flash.

please help me on how to build the JSON data.

thanks.

???

For Piwik, look in core/ViewDataTable/GenerateGraphData.php, libs/open-flash-chart/php-ofc-library, and PHP: Manual Quick Reference.