Click or drag to resize

JsonPathInfo Class

Provides information about a json path. Particularly for JsonValueMapping.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.Configuration.JsonMappingJsonPathInfo

Namespace:  MFiles.VAF.Configuration.JsonMapping
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.2.0.9
Syntax
C#
public class JsonPathInfo

The JsonPathInfo type exposes the following members.

Constructors
  NameDescription
Public methodJsonPathInfo
Constructor.
Top
Properties
  NameDescription
Public propertyContainsPlaceholders
Indicates whether the path contains any placeholders.
Public propertyPath
The path.
Public propertyStatic memberPlaceholderPattern
Regular expression pattern to extract placeholders from path segments.
Public propertySegments
The path segments.
Top
Methods
  NameDescription
Public methodGetPathMatcher
Creates a regular expression that can matches real paths with this path.
Public methodStatic memberGetSegments
Splits a json path into segments.
Public methodGetTokenSearchPath
Converts the path into an appropriate token search path.
Public methodStatic memberResolvePlaceholders(String)
Finds all placeholders and indexes them by their segment index.
Public methodStatic memberResolvePlaceholders(String)
Finds all placeholders and indexes them by their segment index.
Public methodCode exampleResolvePlaceholderValuesFromPath
Extracts placeholder values from a "real" path.
Public methodStatic memberResolveSegmentPlaceholders
Resolves any placeholders within a single path segment.
Public methodStatic memberResolveSegmentPlaceholderValues
Resolves placeholder values from a real path segment given a template segment.
Public methodStatic memberResolveSegmentsWithWildCardArrayIndexes
Gets the indexes of segments with wild-card array indexes.
Public methodResolveSettablePath
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.
Public methodStatic memberSegmentHasArrayWildCard
Determines if a segment contains a wild card array index.
Public methodSelectMatchingTokens
Finds the tokens in a json object structure matching the path.
Public methodStatic memberSetPathIndexes
Get the specific path for a target value by replacing any array index wild cards in the target path with indexes used in the source value's path.
Top
See Also