Skip to content

Variable: JSONResponder ​

const JSONResponder: ExpressResponder

The default responder of expressHTTPEntrypoint: a result is sent as JSON, no result as an empty 204 (or the status set by a StatusResult); an error is sent as {errno, errMsg} (see describeError) with its HTTP status (see statusOfError: the first 4xx status in its cause chain, its own status, or 500).

Released under the MIT License.