Share via


NewtonsoftJsonInputFormatter.ReleaseJsonSerializer(JsonSerializer) Method

Definition

Releases the serializer instance.

protected:
 virtual void ReleaseJsonSerializer(Newtonsoft::Json::JsonSerializer ^ serializer);
protected virtual void ReleaseJsonSerializer (Newtonsoft.Json.JsonSerializer serializer);
abstract member ReleaseJsonSerializer : Newtonsoft.Json.JsonSerializer -> unit
override this.ReleaseJsonSerializer : Newtonsoft.Json.JsonSerializer -> unit
Protected Overridable Sub ReleaseJsonSerializer (serializer As JsonSerializer)

Parameters

serializer
Newtonsoft.Json.JsonSerializer

The Newtonsoft.Json.JsonSerializer to release.

Remarks

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

Applies to