I am getting json data from mongodb and display it using res.json(data). The result looks like following human readable format.
{
"glossary": {
"title": "example glossary"
}
}
Is there a way I can display this in raw Json without blank spaces and put them in one line? For example, {"glossary":{"title":"example".....