- Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
I'm curious if decision to use .send instead of .json was intentional for some reason:
| response.send(JSON.stringify(problem)) |
The issue being, Expresses Response.json use app settings for the replacer, escape, and spaces settings of JSON.stringify and stringifying the payload directly bypasses these options.
If it doesn't make a difference to the functionality of this lib, I'd be happy to open a PR.
Metadata
Metadata
Assignees
Labels
No labels