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: 21.8.10524.1
Syntaxpublic string GetDataMemberSourcePath(
DataMemberInfo dataMember,
string targetPath,
JsonListMappingMode mode
)
Public Function GetDataMemberSourcePath (
dataMember As DataMemberInfo,
targetPath As String,
mode As JsonListMappingMode
) As String
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:
StringThe source json path.
See Also