Share via


JsonPatch.GetString(ReadOnlySpan<Byte>) Method

Definition

Gets a string value at the specified JSON path.

public string? GetString(ReadOnlySpan<byte> jsonPath);
member this.GetString : ReadOnlySpan<byte> -> string
Public Function GetString (jsonPath As ReadOnlySpan(Of Byte)) As String

Parameters

jsonPath
ReadOnlySpan<Byte>

The JSON path of the value to get.

Returns

Exceptions

If the jsonPath was not found.

Applies to