What is the purpose of using body-parser middleware in Express?
To encrypt request data
To parse JSON bodies of incoming requests
To parse cookies from the client
To log request details