JsonPatch.GetFloat(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 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.