Share via


JsonFormatHandler.Deserialize Method (ControllerContext, ModelBindingContext, ContentType)

 

Deserialize the object model into the JSON body in the specified request format.

Namespace:   Microsoft.Web.Mvc.Resources
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

public object Deserialize(
    ControllerContext controllerContext,
    ModelBindingContext bindingContext,
    ContentType requestFormat
)
public:
virtual Object^ Deserialize(
    ControllerContext^ controllerContext,
    ModelBindingContext^ bindingContext,
    ContentType^ requestFormat
) sealed
abstract Deserialize : 
        controllerContext:ControllerContext *
        bindingContext:ModelBindingContext *
        requestFormat:ContentType -> Object
override Deserialize : 
        controllerContext:ControllerContext *
        bindingContext:ModelBindingContext *
        requestFormat:ContentType -> Object
Public Function Deserialize (
    controllerContext As ControllerContext,
    bindingContext As ModelBindingContext,
    requestFormat As ContentType
) As Object

Parameters

Return Value

Type: System.Object

The object deserializes.

Implements

IRequestFormatHandler.Deserialize(ControllerContext, ModelBindingContext, ContentType)

See Also

JsonFormatHandler Class
Microsoft.Web.Mvc.Resources Namespace

Return to top