Microsoft.AspNetCore.Mvc.Formatters.Json Helper related to generic interface definitions and implementing classes. Determine whether is or implements a closed generic created from . The of interest. The open generic to match. Usually an interface. The closed generic created from that is or implements. null if the two s have no such relationship. This method will return if is typeof(KeyValuePair{,}), and is typeof(KeyValuePair{string, object}). Extensions methods for configuring MVC via an . Adds configuration of for the application. The . The which need to be configured. A for JSON content. Initializes a new instance of . The . The . Should be either the application-wide settings () or an instance initially returned. The . The . Gets the used to configure the . Any modifications to the object after this has been used will have no effect. Called during deserialization to get the . The used during deserialization. This method works in tandem with to manage the lifetimes of instances. Releases the instance. The to release. This method works in tandem with to manage the lifetimes of instances. A for JSON content. Initializes a new instance. The . Should be either the application-wide settings () or an instance initially returned. The . Gets the used to configure the . Any modifications to the object after this has been used will have no effect. Writes the given as JSON using the given . The used to write the The value to write as JSON. Called during serialization to create the . The used to write. The used during serialization. Called during serialization to create the . The used during serialization and deserialization. A for JSON Patch (application/json-patch+json) content. Initializes a new instance. The . The . Should be either the application-wide settings () or an instance initially returned. /// The . The . Helper class which provides . Creates default . Default . Executes a to write to the response. Creates a new . The . The . The . The for creating buffers. Gets the . Gets the . Gets the . Executes the and writes the response. The . The . A which will complete when writing has completed. for . Initializes a new instance of . The used to instantiate instances. Sets up JSON formatter options for . Intiailizes a new instance of . The . Extensions for Applies JSON patch operations on object and logs errors in . The . The entity on which is applied. The to add errors. Applies JSON patch operations on object and logs errors in . The . The entity on which is applied. The to add errors. The prefix to use when looking up values in . An action result which formats the given object as JSON. Creates a new with the given . The value to format as JSON. Creates a new with the given . The value to format as JSON. The to be used by the formatter. Gets or sets the representing the Content-Type header of the response. Gets or sets the . Gets or sets the HTTP status code. Gets or sets the value to be formatted. Provides programmatic configuration for JSON in the MVC framework. Gets the that are used by this application.