Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Class

JsonNull

class JsonNull

Module: System.Data.Json
Assembly: System.Data.dll
Source file: JsonValue.rvn

Inheritance: Object → JsonValue → JsonNull
Part of closed hierarchy: JsonValue

Explicit JSON null node, distinct from a missing member.

Constructors

1 item
JsonNull() Creates an explicit null node.

Methods

6 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToJsonString() -> Result<string, JsonError> Converts this node to compact JSON text, including JSON quoting and escaping for strings. Inherited from JsonValue.ToJsonString
ToJsonString(options: JsonSerializerOptions) -> Result<string, JsonError> Converts this node to JSON text using the selected formatting. Inherited from JsonValue.ToJsonString
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString