RowConverter BSONDocumentToJSONMap Method NFX Class Library

[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.BSON
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public virtual JSONDataMap BSONDocumentToJSONMap(
	BSONDocument doc,
	Func<BSONDocument, BSONElement, bool> filter = null
)

Parameters

doc
Type: NFX.Serialization.BSON BSONDocument
filter (Optional)
Type: OnlineSystem Func BSONDocument, BSONElement, OnlineBoolean 

Return Value

Type: JSONDataMap
See Also