sdkagent

jsonpath-ng API reference

60 public APIs from jsonpath-ng (h2non/jsonpath-ng) — 20 classes, 0 functions, 40 methods. Signatures extracted by static analysis of the actual source.

Repository: h2non/jsonpath-ng

KindCount
Classes20
Functions0
Methods40

API list

classjsonpath_ng.ext.filter.Expression
The JSONQuery expression
classjsonpath_ng.ext.filter.Filter
The JSONQuery filter
classjsonpath_ng.ext.iterable.Keys
The JSONPath referring to the keys of the current object.
classjsonpath_ng.ext.iterable.Len
The JSONPath referring to the len of the current object.
classjsonpath_ng.ext.iterable.Path
The JSONPath referring to the path of the current object.
classjsonpath_ng.ext.parser.ExtendedJsonPathLexer
Custom LALR-lexer for JsonPath
methodjsonpath_ng.ext.parser.ExtendedJsonPathLexer.t_BOOL(t)
true|false
methodjsonpath_ng.ext.parser.ExtendedJsonPathLexer.t_FLOAT(t)
-?\d+\.\d+
methodjsonpath_ng.ext.parser.ExtendedJsonPathLexer.t_ID(t)
@?[a-zA-Z_][a-zA-Z0-9_@\-]*
methodjsonpath_ng.ext.parser.ExtendedJsonPathLexer.t_SORT_DIRECTION(t)
,?\s*(/|\\)
classjsonpath_ng.ext.parser.ExtendedJsonPathParser
Custom LALR-parser for JsonPath
methodjsonpath_ng.ext.parser.ExtendedJsonPathParser.p_expressions_expression(p)
expressions : expression
methodjsonpath_ng.ext.parser.ExtendedJsonPathParser.p_filter(p)
filter : '?' expressions
methodjsonpath_ng.ext.parser.ExtendedJsonPathParser.p_jsonpath_named_operator(p)
jsonpath : NAMED_OPERATOR
methodjsonpath_ng.ext.parser.ExtendedJsonPathParser.p_jsonpath_this(p)
jsonpath : '@'
methodjsonpath_ng.ext.parser.ExtendedJsonPathParser.p_operator(p)
operator : '+' | '-' | '*' | '/'
methodjsonpath_ng.ext.parser.ExtendedJsonPathParser.p_sort(p)
sort : SORT_DIRECTION jsonpath
methodjsonpath_ng.ext.parser.ExtendedJsonPathParser.p_sorts_comma(p)
sorts : sorts sorts
methodjsonpath_ng.ext.parser.ExtendedJsonPathParser.p_sorts_sort(p)
sorts : sort
classjsonpath_ng.ext.string.Str
String converter Concrete syntax is '`str()`'
classjsonpath_ng.ext.string.Sub
Regex substituor Concrete syntax is '`sub(/regex/, repl)`'
classjsonpath_ng.jsonpath.Child
JSONPath that first matches the left, then the right.
classjsonpath_ng.jsonpath.DatumInContext
Represents a datum along a path from a context.
classjsonpath_ng.jsonpath.Fields
JSONPath referring to some field of the current object.
classjsonpath_ng.jsonpath.Intersect
JSONPath for bits that match *both* patterns.
classjsonpath_ng.jsonpath.Parent
JSONPath that matches the parent node of the current match.
classjsonpath_ng.jsonpath.Root
The JSONPath referring to the "root" object.
classjsonpath_ng.jsonpath.Slice
JSONPath matching a slice of an array.
classjsonpath_ng.jsonpath.This
The JSONPath referring to the current datum.
classjsonpath_ng.jsonpath.Union
JSONPath that returns the union of the results of each match.
classjsonpath_ng.lexer.JsonPathLexer
A Lexical analyzer for JsonPath.
methodjsonpath_ng.lexer.JsonPathLexer.t_NUMBER(t)
-?\d+
methodjsonpath_ng.lexer.JsonPathLexer.t_backquote(t)
`
methodjsonpath_ng.lexer.JsonPathLexer.t_backquote_content(t)
[^`\\]+
methodjsonpath_ng.lexer.JsonPathLexer.t_backquote_end(t)
`
methodjsonpath_ng.lexer.JsonPathLexer.t_backquote_escape(t)
\\.
methodjsonpath_ng.lexer.JsonPathLexer.t_doublequote(t)
"
methodjsonpath_ng.lexer.JsonPathLexer.t_doublequote_content(t)
[^"\\]+
methodjsonpath_ng.lexer.JsonPathLexer.t_doublequote_end(t)
"
methodjsonpath_ng.lexer.JsonPathLexer.t_doublequote_escape(t)
\\.
methodjsonpath_ng.lexer.JsonPathLexer.t_newline(t)
\n
methodjsonpath_ng.lexer.JsonPathLexer.t_singlequote(t)
'
methodjsonpath_ng.lexer.JsonPathLexer.t_singlequote_content(t)
[^'\\]+
methodjsonpath_ng.lexer.JsonPathLexer.t_singlequote_end(t)
'
methodjsonpath_ng.lexer.JsonPathLexer.t_singlequote_escape(t)
\\.
classjsonpath_ng.parser.JsonPathParser
An LALR-parser for JsonPath
methodjsonpath_ng.parser.JsonPathParser.p_empty(p)
empty :
methodjsonpath_ng.parser.JsonPathParser.p_fields_comma(p)
fields : fields ',' fields
methodjsonpath_ng.parser.JsonPathParser.p_fields_id(p)
fields : ID
methodjsonpath_ng.parser.JsonPathParser.p_idx(p)
idx : NUMBER
methodjsonpath_ng.parser.JsonPathParser.p_idx_comma(p)
idx : idx ',' idx
methodjsonpath_ng.parser.JsonPathParser.p_jsonpath_fieldbrackets(p)
jsonpath : '[' fields ']'
methodjsonpath_ng.parser.JsonPathParser.p_jsonpath_fields(p)
jsonpath : fields_or_any
methodjsonpath_ng.parser.JsonPathParser.p_jsonpath_idx(p)
jsonpath : '[' idx ']'
methodjsonpath_ng.parser.JsonPathParser.p_jsonpath_named_operator(p)
jsonpath : NAMED_OPERATOR
methodjsonpath_ng.parser.JsonPathParser.p_jsonpath_parens(p)
jsonpath : '(' jsonpath ')'
methodjsonpath_ng.parser.JsonPathParser.p_jsonpath_root(p)
jsonpath : '$'
methodjsonpath_ng.parser.JsonPathParser.p_jsonpath_slice(p)
jsonpath : '[' slice ']'
methodjsonpath_ng.parser.JsonPathParser.p_maybe_int(p)
maybe_int : NUMBER | empty
methodjsonpath_ng.parser.JsonPathParser.p_slice_any(p)
slice : '*'

About this data

These signatures were extracted from the public source of h2non/jsonpath-ng using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries