Python JSONPath2 Parser Module¶
The jsonpath parser module.
-
exception
jsonpath2.parser.CallableSubscriptNotFoundError(name)[source]¶ Callable subscript not found error.
-
class
jsonpath2.parser._JSONPathListener(_stack=None)[source]¶ -
-
exitAndExpression(ctx: jsonpath2.parser.JSONPathParser.JSONPathParser.AndExpressionContext)[source]¶
-
exitNotExpression(ctx: jsonpath2.parser.JSONPathParser.JSONPathParser.NotExpressionContext)[source]¶
-
exitSubscriptable(ctx: jsonpath2.parser.JSONPathParser.JSONPathParser.SubscriptableContext)[source]¶
-
exitSubscriptableArguments(ctx: jsonpath2.parser.JSONPathParser.JSONPathParser.SubscriptableArgumentsContext)[source]¶
-
exitSubscriptableBareword(ctx: jsonpath2.parser.JSONPathParser.JSONPathParser.SubscriptableBarewordContext)[source]¶
-
-
class
jsonpath2.parser._JSONPathParser(input: antlr4.BufferedTokenStream.TokenStream, output: TextIO = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>)[source]¶
-
jsonpath2.parser._createCallableSubscript(name, *args, **kwargs)[source]¶ Create callable subscript for name, arguments and keyword arguments.
-
jsonpath2.parser._parse_input_stream(input_stream: antlr4.InputStream.InputStream) → jsonpath2.nodes.root.RootNode[source]¶