I have objects like below
{
"user": "58a9bf92e0f78000055dd932",
"type": "template_created",
"count": 2
}
I need to get 'user' field, ..->type
returns "template_created" and ..->count
gives its value but ..->user
returns null. These objects come from mongodb aggregation framework by the way.
Use this code