c# - BsonSerializer Deserialize Script To Wrong BsonDocument -


i'm using dynamic js queries browser client .net server mongodb c# driver.

but passing query bsonserializer result bad deserializion.

bsondocument doc = bsonserializer.deserialize<bsondocument>("{policy:{'$gt':5}} ,{policy:1}"); 

the doc value: {{ "policy" : { "$gt" : 5 } }}

mongodb bug?


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

qt - Passing a QObject to an Script function with QJSEngine? -

c# - Web API response xml language -