JsonPatch.GetBoolean(ReadOnlySpan<Byte>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.