The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
JsonResult<T> Class
Represents an action result that returns an OK response with JSON data.
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | JsonResult<T>(T, JsonSerializerSettings^, Encoding^, ApiController^) | Initializes a new instance of the JsonResult<T> class with the values provided. |
![]() | JsonResult<T>(T, JsonSerializerSettings^, Encoding^, HttpRequestMessage^) | Initializes a new instance of the JsonResult<T> class with the values provided. |
| Name | Description | |
|---|---|---|
![]() | Content | Gets the content value to serialize in the entity body. |
![]() | Encoding | Gets the content encoding. |
![]() | Request | Gets the request message which led to this result. |
![]() | SerializerSettings | Gets the serializer settings. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | ExecuteAsync(CancellationToken) | Creates a response message asynchronously. |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:


