WordPress at Your Fingertips
function is not described

WC_Meta_Data::jsonSerialize() public WC 1.0

When converted to JSON.

{} It's a method of the class: WC_Meta_Data{}

No Hooks.

Return

Object|Array.

Usage

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

Code of WC_Meta_Data::jsonSerialize() WC 5.7.1

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