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
Kind
Gets the kind of this value.
public override JsonValueKind Kind { get; }
Property Value
Methods
Equals(JsonValue?)
Indicates whether the current object is equal to another object of the same type.
public override bool Equals(JsonValue? other)
Parameters
otherJsonValueAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.