Automattic\WooCommerce\Vendor\GraphQL\Language\AST
Node::jsonSerialize
Improves upon the default serialization by:
- excluding null values
- excluding large reference values such as @see Location::$source.
Метод класса: Node{}
Хуков нет.
Возвращает
Массив<Строку,. mixed>
Использование
$Node = new Node(); $Node->jsonSerialize(): array;
Код Node::jsonSerialize() Node::jsonSerialize WC 10.9.1
public function jsonSerialize(): array
{
return $this->toArray();
}