NewtonsoftJsonInputFormatter.ReleaseJsonSerializer(JsonSerializer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.