JsonHelper(JsonOutputFormatter, 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 instance of JsonHelper that is backed by jsonOutputFormatter
.
public:
JsonHelper(Microsoft::AspNetCore::Mvc::Formatters::JsonOutputFormatter ^ jsonOutputFormatter, System::Buffers::ArrayPool<char> ^ charPool);
public JsonHelper (Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter jsonOutputFormatter, System.Buffers.ArrayPool<char> charPool);
new Microsoft.AspNetCore.Mvc.ViewFeatures.JsonHelper : Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter * System.Buffers.ArrayPool<char> -> Microsoft.AspNetCore.Mvc.ViewFeatures.JsonHelper
Public Sub New (jsonOutputFormatter As JsonOutputFormatter, charPool As ArrayPool(Of Char))
Parameters
- jsonOutputFormatter
- JsonOutputFormatter
The JsonOutputFormatter used to serialize JSON.
The ArrayPool<T> for use with custom Newtonsoft.Json.JsonSerializerSettings (see Serialize(Object, JsonSerializerSettings)).