Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

Type::jsonSerializepublicWC 1.0ReturnTypeWillChange

Method of the class: Type{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Type = new Type();
$Type->jsonSerialize(): string;

Type::jsonSerialize() code WC 11.1.1

public function jsonSerialize(): string
{
    return $this->toString();
}