JsonPatch.TryGetNullableValue<T> 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.
Tries to get a UInt16 value at the specified JSON path.
public bool TryGetNullableValue<T>(ReadOnlySpan<byte> jsonPath, out T? value) where T : struct;
member this.TryGetNullableValue : ReadOnlySpan<byte> * Nullable -> bool (requires 'T : struct)
Public Function TryGetNullableValue(Of T As Structure) (jsonPath As ReadOnlySpan(Of Byte), ByRef value As Nullable(Of T)) As Boolean
Type Parameters
- T
Parameters
- jsonPath
- ReadOnlySpan<Byte>
The JSON path of the value to get.
- value
- Nullable<T>
The value if found.
Returns
True if the value was found and parsed; otherwise, false.