Skip to content

DefaultValueJsonDocument.TryGetLineAndOffsetForPointer Method

Definition

Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: DefaultValueJsonDocument.cs

TryGetLineAndOffsetForPointer(ReadOnlySpan<byte>, int, int, int, long)

public bool TryGetLineAndOffsetForPointer(ReadOnlySpan<byte> jsonPointer, int index, out int line, out int charOffset, out long lineByteOffset)

Parameters

Name Type Description
jsonPointer ReadOnlySpan<byte>
index int
line int
charOffset int
lineByteOffset long

Returns

bool

Implements

IJsonDocument.TryGetLineAndOffsetForPointer

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