hi
i wrote a hosted function :
i wrote a hosted function :
public void myUpdate(string collectionName, DynamicObject entity)
{
//somehow serialize the object to json
}
engine.Execute("myObjdate({name:"hello"});
And i didnt found any way to serialize the object to json/bson any idea on how to do it?