Udostępnij przez


JsonPatch.GetFloat(ReadOnlySpan<Byte>) Method

Definition

Gets a float value at the specified JSON path.

public float GetFloat(ReadOnlySpan<byte> jsonPath);
member this.GetFloat : ReadOnlySpan<byte> -> single
Public Function GetFloat (jsonPath As ReadOnlySpan(Of Byte)) As Single

Parameters

jsonPath
ReadOnlySpan<Byte>

The JSON path of the value to get.

Returns

Exceptions

If the jsonPath was not found.

Applies to