JsonPathInfoResolvePlaceholderValuesFromPath Method

Extracts placeholder values from a "real" path.

Definition

Namespace: MFiles.VAF.Configuration.JsonMapping
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public Dictionary<int, Dictionary<string, string>> ResolvePlaceholderValuesFromPath(
	string path
)

Parameters

path  String
The "real" path to extract placeholder values from.

Return Value

DictionaryInt32, DictionaryString, String
Placeholder values indexed by placeholder and segment index.

Example

If the current instances path is foo.bar.<key>.value, and the real path passed is foo.bar.x.value. Then this method would return the value x indexed at 2 (segment index) and "key" (placeholder name) respectively. retVal[ 2 ][ "key" ] = "x";

See Also