JsonCreationConverter<T>.Create(Type, JObject) Method

Definition

Create an instance of objectType, based properties in the JSON object

protected abstract T Create (Type objectType, Newtonsoft.Json.Linq.JObject jsonObject);
abstract member Create : Type * Newtonsoft.Json.Linq.JObject -> 'T
Protected MustOverride Function Create (objectType As Type, jsonObject As JObject) As T

Parameters

objectType
Type

type of object expected

jsonObject
Newtonsoft.Json.Linq.JObject

contents of JSON object that will be deserialized

Returns

T

Applies to