jsonpath-ng の API リファレンス
jsonpath-ng (h2non/jsonpath-ng) の公開 API 60 件 —— クラス 20、関数 0、メソッド 40。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: h2non/jsonpath-ng
| 種別 | 件数 |
|---|---|
| クラス | 20 |
| 関数 | 0 |
| メソッド | 40 |
API 一覧
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 : '*'
この情報について
掲載しているシグネチャは h2non/jsonpath-ng の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。