I'm a bit confused about the use of bodyparser. Why is it necessary when we can simply use json.stringify (to convert an object to a string) and json.parse (to convert JSON to an object)?
Is it because by using app.use() with bodyparser, the middleware is automatically applied during data exchange between the client and server? So, there's no need to specify it each time data is sent from client to server and vice versa?
If that's the case, what is the difference between urlencoded and json in bodyparser?