Appearance
IActionResultSerializer Interface
Definition
Defines a serializer that converts an action result payload into a transport-ready HTTP response body.
- Namespace:
JASE.Web - Assembly:
JASE.Web.dll
Methods
| Name | Description |
|---|---|
SerializedActionResult Serialize(ActionContext context, object value) | Serializes the provided payload into a response body for the current action context. |
Remarks
Implementations are responsible for selecting an appropriate response representation for the current request context, such as JSON or CBOR, and returning the serialized payload bytes along with the corresponding response content type.
This abstraction is intended for custom IActionResult implementations that manage response writing directly rather than relying on ASP.NET Core MVC output formatters.