JsonElementExtensionsConvertToObject(JsonElement, Type, String) Method

Definition

Namespace: Recrovit.RecroGridFramework.Abstraction.Extensions
Assembly: Recrovit.RecroGridFramework.Abstraction (in Recrovit.RecroGridFramework.Abstraction.dll) Version: 1.0.0+e8283e3f27c12b225538d1f420c3624f3932ffc8
C#
public static Object ConvertToObject(
	this JsonElement jsonElement,
	Type preferredType,
	string cultureName = "en"
)

Parameters

jsonElement  JsonElement
 
preferredType  Type
 
cultureName  String  (Optional)
 

Return Value

Object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type JsonElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also