Express.js · Module
bodyParser
express.json() returns middleware that parses matching JSON request bodies and stores the result in req.body. Use its options to control size, compression, media type matching, and raw-body verification.
Last updated
Syntax
express.json([options])In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
express()express.raw()express.text()express.urlencoded()req.body