Click or drag to resize

JsonPathInfo Class

Provides information about a json path. Particularly for JsonValueMapping.
Inheritance Hierarchy

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

The JsonPathInfo type exposes the following members.

Public methodJsonPathInfo
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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also