how to serialize a class into bson documen tc$ code example
Example: deserialize json to object c#
dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(jsonstring);
dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(jsonstring);