Method TryParse
TryParse(string, out BsonDocument)
Tries to parse a JSON string and returns a value indicating whether it succeeded or failed.
Parameters
s
stringThe JSON string.
result
BsonDocument The result.
Returns
- bool
Whether it succeeded or failed.