Class JsonElementExtensions
- Namespace
 - FoundationaLLM.Common.Extensions
 
- Assembly
 - FoundationaLLM.Common.dll
 
Provides extension methods for JsonElement.
public static class JsonElementExtensions
  - Inheritance
 - 
      
      JsonElementExtensions
 
- Inherited Members
 
Methods
ToObject(JsonElement)
Converts the JSON element to the underlying object type.
public static object? ToObject(this JsonElement jsonElement)
  Parameters
jsonElementJsonElementThe JSON element to convert.
Returns
- object
 The underlying object type.