Class JsonElementExtensions
- Namespace
- Cratis.Json
- Assembly
- Cratis.Fundamentals.dll
Represents extension methods for JsonElement.
public static class JsonElementExtensions
- Inheritance
-
JsonElementExtensions
- Inherited Members
Methods
TryGetValue(JsonElement, out object?)
Try to get the value of a JsonElement as a native CLR type.
public static bool TryGetValue(this JsonElement element, out object? value)
Parameters
elementJsonElementJsonElement to try to get from.
valueobjectOut result value.
Returns
- bool
True if it can, false if not.