JsonMapGenerator Class

Generates a JsonMap based on a class structure and the relevant types' data members.

Definition

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

Constructors

Properties

CustomMappers Custom mappers to use while generating the JsonMaps for a type.

Methods

Generate Generates a JsonMap based on a class structure and the relevant types' data members.
GetDataMemberSourcePath Generates a JSON path to where a data members's value will be deserialzed to.
GetDataMemberTargetPath Generates a JSON path to where a data members's value should be mapped to in a target format.
GetMappingAttribute Gets the JsonMappingAttribute of a data member for a specific mapping target if one exists.

See Also