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
| Kind | Count |
|---|---|
| Classes | 20 |
| Functions | 0 |
| Methods | 40 |
API list
class
jsonpath_ng.ext.filter.ExpressionThe JSONQuery expression
class
jsonpath_ng.ext.filter.FilterThe JSONQuery filter
class
jsonpath_ng.ext.iterable.KeysThe JSONPath referring to the keys of the current object.
class
jsonpath_ng.ext.iterable.LenThe JSONPath referring to the len of the current object.
class
jsonpath_ng.ext.iterable.PathThe JSONPath referring to the path of the current object.
class
jsonpath_ng.ext.parser.ExtendedJsonPathLexerCustom LALR-lexer for JsonPath
method
jsonpath_ng.ext.parser.ExtendedJsonPathLexer.t_BOOL(t)true|false
method
jsonpath_ng.ext.parser.ExtendedJsonPathLexer.t_FLOAT(t)-?\d+\.\d+
method
jsonpath_ng.ext.parser.ExtendedJsonPathLexer.t_ID(t)@?[a-zA-Z_][a-zA-Z0-9_@\-]*
method
jsonpath_ng.ext.parser.ExtendedJsonPathLexer.t_SORT_DIRECTION(t),?\s*(/|\\)
class
jsonpath_ng.ext.parser.ExtendedJsonPathParserCustom LALR-parser for JsonPath
method
jsonpath_ng.ext.parser.ExtendedJsonPathParser.p_expressions_expression(p)expressions : expression
method
jsonpath_ng.ext.parser.ExtendedJsonPathParser.p_filter(p)filter : '?' expressions
method
jsonpath_ng.ext.parser.ExtendedJsonPathParser.p_jsonpath_named_operator(p)jsonpath : NAMED_OPERATOR
method
jsonpath_ng.ext.parser.ExtendedJsonPathParser.p_jsonpath_this(p)jsonpath : '@'
method
jsonpath_ng.ext.parser.ExtendedJsonPathParser.p_operator(p)operator : '+' | '-' | '*' | '/'
method
jsonpath_ng.ext.parser.ExtendedJsonPathParser.p_sort(p)sort : SORT_DIRECTION jsonpath
method
jsonpath_ng.ext.parser.ExtendedJsonPathParser.p_sorts_comma(p)sorts : sorts sorts
method
jsonpath_ng.ext.parser.ExtendedJsonPathParser.p_sorts_sort(p)sorts : sort
class
jsonpath_ng.ext.string.StrString converter Concrete syntax is '`str()`'
class
jsonpath_ng.ext.string.SubRegex substituor Concrete syntax is '`sub(/regex/, repl)`'
class
jsonpath_ng.jsonpath.ChildJSONPath that first matches the left, then the right.
class
jsonpath_ng.jsonpath.DatumInContextRepresents a datum along a path from a context.
class
jsonpath_ng.jsonpath.FieldsJSONPath referring to some field of the current object.
class
jsonpath_ng.jsonpath.IntersectJSONPath for bits that match *both* patterns.
class
jsonpath_ng.jsonpath.ParentJSONPath that matches the parent node of the current match.
class
jsonpath_ng.jsonpath.RootThe JSONPath referring to the "root" object.
class
jsonpath_ng.jsonpath.SliceJSONPath matching a slice of an array.
class
jsonpath_ng.jsonpath.ThisThe JSONPath referring to the current datum.
class
jsonpath_ng.jsonpath.UnionJSONPath that returns the union of the results of each match.
class
jsonpath_ng.lexer.JsonPathLexerA Lexical analyzer for JsonPath.
method
jsonpath_ng.lexer.JsonPathLexer.t_NUMBER(t)-?\d+
method
jsonpath_ng.lexer.JsonPathLexer.t_backquote(t)`
method
jsonpath_ng.lexer.JsonPathLexer.t_backquote_content(t)[^`\\]+
method
jsonpath_ng.lexer.JsonPathLexer.t_backquote_end(t)`
method
jsonpath_ng.lexer.JsonPathLexer.t_backquote_escape(t)\\.
method
jsonpath_ng.lexer.JsonPathLexer.t_doublequote(t)"
method
jsonpath_ng.lexer.JsonPathLexer.t_doublequote_content(t)[^"\\]+
method
jsonpath_ng.lexer.JsonPathLexer.t_doublequote_end(t)"
method
jsonpath_ng.lexer.JsonPathLexer.t_doublequote_escape(t)\\.
method
jsonpath_ng.lexer.JsonPathLexer.t_newline(t)\n
method
jsonpath_ng.lexer.JsonPathLexer.t_singlequote(t)'
method
jsonpath_ng.lexer.JsonPathLexer.t_singlequote_content(t)[^'\\]+
method
jsonpath_ng.lexer.JsonPathLexer.t_singlequote_end(t)'
method
jsonpath_ng.lexer.JsonPathLexer.t_singlequote_escape(t)\\.
class
jsonpath_ng.parser.JsonPathParserAn LALR-parser for JsonPath
method
jsonpath_ng.parser.JsonPathParser.p_empty(p)empty :
method
jsonpath_ng.parser.JsonPathParser.p_fields_comma(p)fields : fields ',' fields
method
jsonpath_ng.parser.JsonPathParser.p_fields_id(p)fields : ID
method
jsonpath_ng.parser.JsonPathParser.p_idx(p)idx : NUMBER
method
jsonpath_ng.parser.JsonPathParser.p_idx_comma(p)idx : idx ',' idx
method
jsonpath_ng.parser.JsonPathParser.p_jsonpath_fieldbrackets(p)jsonpath : '[' fields ']'
method
jsonpath_ng.parser.JsonPathParser.p_jsonpath_fields(p)jsonpath : fields_or_any
method
jsonpath_ng.parser.JsonPathParser.p_jsonpath_idx(p)jsonpath : '[' idx ']'
method
jsonpath_ng.parser.JsonPathParser.p_jsonpath_named_operator(p)jsonpath : NAMED_OPERATOR
method
jsonpath_ng.parser.JsonPathParser.p_jsonpath_parens(p)jsonpath : '(' jsonpath ')'
method
jsonpath_ng.parser.JsonPathParser.p_jsonpath_root(p)jsonpath : '$'
method
jsonpath_ng.parser.JsonPathParser.p_jsonpath_slice(p)jsonpath : '[' slice ']'
method
jsonpath_ng.parser.JsonPathParser.p_maybe_int(p)maybe_int : NUMBER | empty
method
jsonpath_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.