Skip to content

JsonString.Equality Operator

Definition

Namespace: Corvus.Text.Json.Patch
Assembly: Corvus.Text.Json.dll

Overloads

Operator Description
operator ==(ref JsonString, ref JsonString) Operator ==.
operator ==(ref JsonString, ref JsonElement) Operator ==.

operator ==(ref JsonString, ref JsonString)

Operator ==.

public static bool operator ==(ref JsonString left, ref JsonString right)

Parameters

Name Type Description
left ref JsonString The lhs of the operator.
right ref JsonString The rhs of the operator.

Returns

bool

True if the values are equal.

Applies To

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

operator ==(ref JsonString, ref JsonElement)

Operator ==.

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

Parameters

Name Type Description
left ref JsonString The lhs of the operator.
right ref JsonElement The rhs of the operator.

Returns

bool

True if the values are equal.

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