In my asp net core 6 application I need to convert JsonElement object to BsonDocument. Surely I can serialize JsonElement to a string and then do BsonDocument.Parse but I believe there must be faster and more efficient way to do it.
In my asp net core 6 application I need to convert JsonElement object to BsonDocument. Surely I can serialize JsonElement to a string and then do BsonDocument.Parse but I believe there must be faster and more efficient way to do it.