Skip to content

DefaultValueJsonDocument.TextEquals Method

Definition

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

Overloads

Method Description
TextEquals(int, ReadOnlySpan<char>, bool)
TextEquals(int, ReadOnlySpan<byte>, bool, bool)

TextEquals(int, ReadOnlySpan<char>, bool)

Source: DefaultValueJsonDocument.cs

public bool TextEquals(int index, ReadOnlySpan<char> otherText, bool isPropertyName)

Parameters

Name Type Description
index int
otherText ReadOnlySpan<char>
isPropertyName bool

Returns

bool

Implements

IJsonDocument.TextEquals

Applies To

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

TextEquals(int, ReadOnlySpan<byte>, bool, bool)

Source: DefaultValueJsonDocument.cs

public bool TextEquals(int index, ReadOnlySpan<byte> otherUtf8Text, bool isPropertyName, bool shouldUnescape)

Parameters

Name Type Description
index int
otherUtf8Text ReadOnlySpan<byte>
isPropertyName bool
shouldUnescape bool

Returns

bool

Implements

IJsonDocument.TextEquals

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