Method Parse

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson

Assembly

MongoDB.Bson.dll

Parse(string)

Parses a JSON string and returns a BsonDocument.

public static BsonDocument Parse(string json)

Parameters

json string

The JSON string.

Returns

BsonDocument

A BsonDocument.