Python JSONPath2 Nodes Module¶
Nodes module contains all the node definitions.
The current node module.
-
class
jsonpath2.nodes.current.
CurrentNode
(next_node: jsonpath2.node.Node)[source]¶ Current node class to store current node info.
-
_abc_impl
= <_abc_data object>¶
-
Recursive descent module.
-
class
jsonpath2.nodes.recursivedescent.
RecursiveDescentNode
(next_node: jsonpath2.node.Node)[source]¶ Recursive descent node class.
-
_abc_impl
= <_abc_data object>¶
-
Root node type.
-
class
jsonpath2.nodes.root.
RootNode
(next_node: jsonpath2.node.Node)[source]¶ Root node to start the process.
-
_abc_impl
= <_abc_data object>¶
-
The subscript module.
-
class
jsonpath2.nodes.subscript.
SubscriptNode
(next_node: jsonpath2.node.Node, subscripts: List[jsonpath2.subscript.Subscript] = None)[source]¶ The subscript node class to handle ‘[]’.
-
__init__
(next_node: jsonpath2.node.Node, subscripts: List[jsonpath2.subscript.Subscript] = None)[source]¶ Save the next node and subscripts.
-
_abc_impl
= <_abc_data object>¶
-
Terminal node object.