Click or drag to resize

JsonMappingAttribute Constructor

Constructor.

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#
public JsonMappingAttribute(
	string target,
	string path,
	JsonListMappingMode listMode = JsonListMappingMode.Auto
)

Parameters

target
Type: SystemString
The identifier of the json format this attribute maps the data member in to.
path
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