JsonHelper Class

Definition

Default implementation of IJsonHelper.

public ref class JsonHelper : Microsoft::AspNetCore::Mvc::Rendering::IJsonHelper
public class JsonHelper : Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper
type JsonHelper = class
    interface IJsonHelper
Public Class JsonHelper
Implements IJsonHelper
Inheritance
JsonHelper
Implements

Constructors

JsonHelper(JsonOutputFormatter, ArrayPool<Char>)

Initializes a new instance of JsonHelper that is backed by jsonOutputFormatter.

Methods

Serialize(Object)

Returns serialized JSON for the value.

Serialize(Object, JsonSerializerSettings)

Returns serialized JSON for the value.

Applies to