WC_Meta_Data::jsonSerialize()publicWC 1.0ReturnTypeWillChange

When converted to JSON.

Method of the class: WC_Meta_Data{}

No Hooks.

Return

Object|Array.

Usage

$WC_Meta_Data = new WC_Meta_Data();
$WC_Meta_Data->jsonSerialize();

WC_Meta_Data::jsonSerialize() code WC 8.9.0

public function jsonSerialize() {
	return $this->get_data();
}