Click or drag to resize

JsonPathInfoResolveSettablePath Method

Determines the real settable target path to map a source value to. Replacing wild-card array indexes with real indexes, replacing placeholder values with real values, and ensuring placeholder values are set in the target.

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 string ResolveSettablePath(
	JObject source,
	JObject target,
	JsonPathInfo sourcePathInfo,
	string sourceValuePath
)

Parameters

source
Type: JObject
The source json structure.
target
Type: JObject
The target json structure.
sourcePathInfo
Type: MFiles.VAF.Configuration.JsonMappingJsonPathInfo
Information about the source path.
sourceValuePath
Type: SystemString
The path of the token being mapped.

Return Value

Type: String
The path to map the value to in the target.
See Also