Click or drag to resize

JsonMapGeneratorGetDataMemberSourcePath Method

Generates a JSON path to where a data members's value will be deserialzed to.

Namespace:  MFiles.VAF.Configuration.JsonMapping
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public string GetDataMemberSourcePath(
	DataMemberInfo dataMember,
	string targetPath,
	JsonListMappingMode mode
)

Parameters

dataMember
Type: MFiles.VAF.Configuration.JsonMappingDataMemberInfo
The data member to generate the path for.
targetPath
Type: SystemString
Help determine the correct list mapping mode if mode = auto.
mode
Type: MFiles.VAF.Configuration.JsonMappingJsonListMappingMode
Determines if the path should refer to a list-based data member's list or list items.

Return Value

Type: String
The source json path.
See Also