Click or drag to resize

JsonValueMapping 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 JsonValueMapping(
	string sourcePath,
	string targetPath,
	IJsonValueConverter converter = null
)

Parameters

sourcePath
Type: SystemString
The source path to the value location(s) in the source JSON structure. Must be absolute, but can contain array index wild-cards.
targetPath
Type: SystemString
The target path to the corresponding value location(s) in the target JSON structure. Must be absolute, but can contain array index wild-cards.
converter (Optional)
Type: MFiles.VAF.Configuration.JsonMappingIJsonValueConverter
A custom converter that should be used when mapping values from the source JSON structure to the target JSON structure.
See Also