You are here

public function ChartjsChart::jsonSerialize in Charts 8.3

Json Serialize.

Return value

array Json Serialize.

File

modules/charts_chartjs/src/Settings/Chartjs/ChartjsChart.php, line 147

Class

ChartjsChart
Class ChartjsChart.

Namespace

Drupal\charts_chartjs\Settings\Chartjs

Code

public function jsonSerialize() {
  $vars = get_object_vars($this);
  return $vars;
}