JsonMapGeneratorGetMappingAttribute Method

Gets the JsonMappingAttribute of a data member for a specific mapping target if one exists.

Definition

Namespace: MFiles.VAF.Configuration.JsonMapping
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public JsonMappingAttribute GetMappingAttribute(
	DataMemberInfo dataMember,
	string target
)

Parameters

dataMember  DataMemberInfo
The data member to get the attribute for.
target  String
The JSON format the attribute should target.

Return Value

JsonMappingAttribute
An applicable attribute if found, null otherwise.

See Also