Table of Contents

Class JsonValueProviderFactory

Namespace
System.Web.Mvc
Assembly
System.Web.Mvc.dll

Enables action methods to send and receive JSON-formatted text and to model-bind the JSON text to parameters of action methods.

public sealed class JsonValueProviderFactory : ValueProviderFactory
Inheritance
JsonValueProviderFactory
Inherited Members

Constructors

JsonValueProviderFactory()

Initializes a new instance of the JsonValueProviderFactory class.

public JsonValueProviderFactory()

Methods

GetValueProvider(ControllerContext)

Returns a JSON value-provider object for the specified controller context.

public override IValueProvider GetValueProvider(ControllerContext controllerContext)

Parameters

controllerContext ControllerContext

The controller context.

Returns

IValueProvider

A JSON value-provider object for the specified controller context.