Copied!

Represents a JSON null.

NullValue is a sentinel, using an enum with only one value to represent the null value for the Value type union. A field of type NullValue with any value other than 0 is considered invalid. Most ProtoJSON serializers will emit a Value with a null_value set as a JSON null regardless of the integer value, and so will round trip to a 0 value.

Protobuf type google.protobuf.NullValue

CloneableInstantiable
Constants
public Google\Protobuf\NullValue::NULL_VALUE = 0
 

Null value.

Generated from protobuf enum NULL_VALUE = 0;

Methods
public static name( $value)
public static value( $name)
Properties
private static $valueToName = ['NULL_VALUE']
Properties
private static $valueToName = ['NULL_VALUE']
Methods
public static name( $value)
public static value( $name)
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration