Table of Contents

Method DeserializeToCorrectType

Namespace
Innova.Data.Extensions
Assembly
Innova.Data.dll

DeserializeToCorrectType(JsonElement)

Deserializes the JsonElement to the correct type based on its value kind.

public static object DeserializeToCorrectType(this JsonElement element)

Parameters

element JsonElement

The JsonElement to deserialize.

Returns

object

The deserialized object.