Class JSONResponseFactory

Response factory that writes the given object as JSON to the response.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

targetStatus: HTTPStatus = HTTPStatus.OK

The status that should be set on the response.

value: unknown

Methods