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.

Definition

Namespace: MFiles.VAF.Configuration.JsonMapping
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public string ResolveSettablePath(
	JObject source,
	JObject target,
	JsonPathInfo sourcePathInfo,
	string sourceValuePath
)

Parameters

source  JObject
The source json structure.
target  JObject
The target json structure.
sourcePathInfo  JsonPathInfo
Information about the source path.
sourceValuePath  String
The path of the token being mapped.

Return Value

String
The path to map the value to in the target.

See Also