Click or drag to resize

IJsonValueMapperCanMap Method

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

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#
bool CanMap(
	DataMemberInfo dm,
	JsonMappingAttribute mapAttr
)

Parameters

dm
Type: MFiles.VAF.Configuration.JsonMappingDataMemberInfo
The data member to create a mapping for.
mapAttr
Type: MFiles.VAF.Configuration.JsonMappingJsonMappingAttribute
The JsonMappingAttribute decorating the data member and referring to the target JSON structure for which a mapping should be generated.

Return Value

Type: Boolean
True, if the item can be mapped.
See Also