How to assign the dynamic data in mongo db json object
{
"actor" : {"mbox" : "mailto:[email protected]"},
"verb" : {"id" : "http://adlnet.gov/expapi/verbs/answered",
"display" : {"en-US" : "answered"}},
"object" : {"id" : "http://adlnet.gov/expapi/activities/question"}
};
In my json object the display value comes dynamically how can i assign that.
I pass this json values to the xapi and my local mongo db.