Share via


JsonInputFormatter.CreateJsonSerializer Method

Definition

Called during deserialization to get the Newtonsoft.Json.JsonSerializer.

protected:
 virtual Newtonsoft::Json::JsonSerializer ^ CreateJsonSerializer();
protected virtual Newtonsoft.Json.JsonSerializer CreateJsonSerializer ();
abstract member CreateJsonSerializer : unit -> Newtonsoft.Json.JsonSerializer
override this.CreateJsonSerializer : unit -> Newtonsoft.Json.JsonSerializer
Protected Overridable Function CreateJsonSerializer () As JsonSerializer

Returns

Newtonsoft.Json.JsonSerializer

The Newtonsoft.Json.JsonSerializer used during deserialization.

Remarks

This method works in tandem with ReleaseJsonSerializer(JsonSerializer) to manage the lifetimes of Newtonsoft.Json.JsonSerializer instances.

Applies to