Skip to content

JsonElement.Equality Operator

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: JsonElement.cs

operator ==(JsonElement, JsonElement)

Compares two JsonElement values for equality.

public static bool operator ==(JsonElement left, JsonElement right)

Parameters

Name Type Description
left JsonElement The first JsonElement to compare.
right JsonElement The second JsonElement to compare.

Returns

bool

true if the JsonElement values are equal; otherwise, false.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue