@morojs/moro / json
Function: json()
json(
_options?):Middleware
Defined in: src/core/middleware/built-in/body-parsers/index.ts:8
JSON body-parser middleware. MoroJS auto-parses JSON bodies on POST/PUT/PATCH
requests upstream, so this middleware is effectively a pass-through. It exists
so code written in the app.use(json()) idiom works verbatim without rewrites.
Parameters
_options?
limit?
string | number
strict?
boolean