Share via


JsonPatch.GetBoolean(ReadOnlySpan<Byte>) Method

Definition

Gets a boolean value at the specified JSON path.

public bool GetBoolean(ReadOnlySpan<byte> jsonPath);
member this.GetBoolean : ReadOnlySpan<byte> -> bool
Public Function GetBoolean (jsonPath As ReadOnlySpan(Of Byte)) As Boolean

Parameters

jsonPath
ReadOnlySpan<Byte>

The JSON path of the value to get.

Returns

Exceptions

If the jsonPath was not found.

Applies to