JsonValueMapping Constructor |
Constructor.
Namespace:
MFiles.VAF.Configuration.JsonMapping
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
Syntaxpublic JsonValueMapping(
string sourcePath,
string targetPath,
IJsonValueConverter converter = null
)
Public Sub New (
sourcePath As String,
targetPath As String,
Optional converter As IJsonValueConverter = Nothing
)
public:
JsonValueMapping(
String^ sourcePath,
String^ targetPath,
IJsonValueConverter^ converter = nullptr
)
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