Appearance
JsonElementExtensions Class
Definition
Extension methods for System.Text.Json.JsonElement
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
Methods
| Name | Description |
|---|---|
object GetClrValue(JsonElement element, bool coerceStringPrimitives = null) | Normalize a JsonElement into the closest CLR type. |
T ToObject(JsonElement element, JsonSerializerOptions options = null) | Deserialize (materialize) a JsonElement into the requested CLR type. |
object ToObject(JsonElement element, Type type, JsonSerializerOptions options = null) | Deserialize (materialize) a JsonElement into the requested CLR type. |