Table of Contents

Class JsonNull

Namespace
Nerdbank.Json
Assembly
Nerdbank.Json.dll

The JSON null literal.

public sealed class JsonNull : JsonValue, IEquatable<JsonValue>
Inheritance
JsonNull
Implements
Inherited Members

Properties

Instance

Gets the singleton instance.

public static JsonNull Instance { get; }

Property Value

JsonNull

Kind

Gets the kind of this value.

public override JsonValueKind Kind { get; }

Property Value

JsonValueKind

Methods

Equals(JsonValue?)

Indicates whether the current object is equal to another object of the same type.

public override bool Equals(JsonValue? other)

Parameters

other JsonValue

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.