IJsonValueMapperCanMap Method

Indicates whether this mapper wants to (can) override the default mapping generation for this data member.

Definition

Namespace: MFiles.VAF.Configuration.JsonMapping
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
bool CanMap(
	DataMemberInfo dm,
	JsonMappingAttribute mapAttr
)

Parameters

dm  DataMemberInfo
The data member to create a mapping for.
mapAttr  JsonMappingAttribute
The JsonMappingAttribute decorating the data member and referring to the target JSON structure for which a mapping should be generated.

Return Value

Boolean
True, if the item can be mapped.

See Also