JsonMapGeneratorGetDataMemberSourcePath Method

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

Definition

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

Parameters

dataMember  DataMemberInfo
The data member to generate the path for.
targetPath  String
Help determine the correct list mapping mode if mode = auto.
mode  JsonListMappingMode
Determines if the path should refer to a list-based data member's list or list items.

Return Value

String
The source json path.

See Also