Click or drag to resize

JsonMappingAttribute Constructor


Namespace:  MFiles.VAF.Configuration.JsonMapping
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
public JsonMappingAttribute(
	string target,
	string path,
	JsonListMappingMode listMode = JsonListMappingMode.Auto


Type: SystemString
The identifier of the json format this attribute maps the data member in to.
Type: SystemString
The location that this data members value should be mapped to in the target json structure. Paths starting with $. are absolute, otherwise they are relative to the data-member's declaring type's path or the parent data-member's path.
listMode (Optional)
Type: MFiles.VAF.Configuration.JsonMappingJsonListMappingMode
Defines how the mapping is applied to list-based data members. Has no effect if the data-member is not list-based.
See Also