Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Serializing passed object

0
0
hi

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?

Viewing all articles
Browse latest Browse all 2297