JsonOutputFormatter(JsonSerializerSettings, ArrayPool<Char>) Constructor
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.
Initializes a new JsonOutputFormatter instance.
public:
JsonOutputFormatter(Newtonsoft::Json::JsonSerializerSettings ^ serializerSettings, System::Buffers::ArrayPool<char> ^ charPool);
public JsonOutputFormatter (Newtonsoft.Json.JsonSerializerSettings serializerSettings, System.Buffers.ArrayPool<char> charPool);
new Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter : Newtonsoft.Json.JsonSerializerSettings * System.Buffers.ArrayPool<char> -> Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter
Public Sub New (serializerSettings As JsonSerializerSettings, charPool As ArrayPool(Of Char))
Parameters
- serializerSettings
- Newtonsoft.Json.JsonSerializerSettings
The Newtonsoft.Json.JsonSerializerSettings. Should be either the application-wide settings (SerializerSettings) or an instance CreateSerializerSettings() initially returned.
The ArrayPool<T>.