JsonMappingAttribute Class

Attribute for mapping data members of a class to a different JSON format.

Definition

Namespace: MFiles.VAF.Configuration.JsonMapping
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public class JsonMappingAttribute : Attribute
Inheritance
Object    Attribute    JsonMappingAttribute

Constructors

JsonMappingAttribute Constructor.

Properties

Absolute Indicates whether the attribute's path is absolute.
ListMode Defines how the mapping is applied to list-based data members. Has no effect if the data-member is not list-based.
Path 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.
Target The free form identifier of the json format this attribute maps the data member in to.

See Also