You can't convert a MongoCursor to JSON.
What you can do is read the documents returned by the MongoCursor one
by one and convert each document to JSON. Something like:
foreach (var document in cursor) {
var json = document.ToJson();
// do something with the json variable
}
Alternatively, if you want a single JSON array containing all the
documents returned by the cursor you could write:
var json = cursor.ToArray().ToJson();
Be careful calling this if the cursor returns many documents as it
will require large amounts of memory then.