import { serialize } from './serializer';
export const expressJackx = (req, res, next) => {
    res.jackson = function (status, obj) {
        return res.status(status).send(serialize(obj));
    };
    next();
};
//# sourceMappingURL=middleware.js.map