[This is preliminary documentation and is subject to change.]
Converts BSON document to JSON data map by directly mapping
BSON types into corresponding CLR types. The sub-documents get mapped into JSONDataObjects,
and BSON arrays get mapped into CLR object[]
Namespace: NFX.Serialization.BSONAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public virtual JSONDataMap BSONDocumentToJSONMap(
BSONDocument doc,
Func<BSONDocument, BSONElement, bool> filter = null
)
public virtual JSONDataMap BSONDocumentToJSONMap(
BSONDocument doc,
Func<BSONDocument, BSONElement, bool> filter = null
)
Public Overridable Function BSONDocumentToJSONMap (
doc As BSONDocument,
Optional filter As Func(Of BSONDocument, BSONElement, Boolean) = Nothing
) As JSONDataMap
Public Overridable Function BSONDocumentToJSONMap (
doc As BSONDocument,
Optional filter As Func(Of BSONDocument, BSONElement, Boolean) = Nothing
) As JSONDataMap
public:
virtual JSONDataMap^ BSONDocumentToJSONMap(
BSONDocument^ doc,
Func<BSONDocument^, BSONElement^, bool>^ filter = nullptr
)
public:
virtual JSONDataMap^ BSONDocumentToJSONMap(
BSONDocument^ doc,
Func<BSONDocument^, BSONElement^, bool>^ filter = nullptr
)
abstract BSONDocumentToJSONMap :
doc : BSONDocument *
?filter : Func<BSONDocument, BSONElement, bool>
(* Defaults:
let _filter = defaultArg filter null
*)
-> JSONDataMap
override BSONDocumentToJSONMap :
doc : BSONDocument *
?filter : Func<BSONDocument, BSONElement, bool>
(* Defaults:
let _filter = defaultArg filter null
*)
-> JSONDataMap
abstract BSONDocumentToJSONMap :
doc : BSONDocument *
?filter : Func<BSONDocument, BSONElement, bool>
(* Defaults:
let _filter = defaultArg filter null
*)
-> JSONDataMap
override BSONDocumentToJSONMap :
doc : BSONDocument *
?filter : Func<BSONDocument, BSONElement, bool>
(* Defaults:
let _filter = defaultArg filter null
*)
-> JSONDataMap
Return Value
Type:
JSONDataMap