I have my Json string as
string myjson = "[
{
"col1": "1",
"col2": "2",
"col3": "3"
},
{
"col1": "4",
"col2": "5",
"col3": "6"
},
{
"col1": "7",
"col2": "8",
"col3": "9"
}]";
Problem is : When i am creating bson document it is showing
Cannot convert BsonArray to BsonDocument
This is how I'm creating the BsonDocument :
BsonDocument doc = BsonSerializer.Deserialize<BsonDocument>(myjson);
What should i do?