Udostępnij przez


JsonPatch.GetUInt16(ReadOnlySpan<Byte>) Method

Definition

Gets a UInt16 value at the specified JSON path.

public ushort GetUInt16(ReadOnlySpan<byte> jsonPath);
member this.GetUInt16 : ReadOnlySpan<byte> -> uint16
Public Function GetUInt16 (jsonPath As ReadOnlySpan(Of Byte)) As UShort

Parameters

jsonPath
ReadOnlySpan<Byte>

The JSON path of the value to get.

Returns

Exceptions

If the jsonPath was not found.

Applies to