You are here

public function ChartjsData::jsonSerialize in Charts 8.3

Json Serialize.

Return value

array Json Serialize.

File

modules/charts_chartjs/src/Settings/Chartjs/ChartjsData.php, line 75

Class

ChartjsData
Class ChartjsData.

Namespace

Drupal\charts_chartjs\Settings\Chartjs

Code

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