Zum Hauptinhalt springen

JsonPathParser

Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.JsonPath

Parses JSONPath expressions into a structured JsonPathExpression for evaluation.

public static class JsonPathParser

Inheritance Object → JsonPathParser

Methods​

Parse(String)​

Parses the given JSONPath string into a JsonPathExpression.

public static JsonPathExpression Parse(string path)

Parameters​

path String
The JSONPath expression. Must start with $.

Returns​

JsonPathExpression
The parsed expression.

Exceptions​

JsonPathException
Thrown when the expression is empty, missing the root, or otherwise malformed.

IsIdentifierChar(Char)​

internal static bool IsIdentifierChar(char c)

Parameters​

c Char

Returns​

Boolean