Module: JSONPathGrammar::Path0
- Defined in:
- lib/jsonpath/parser.rb
Instance Method Summary collapse
Instance Method Details
#root ⇒ Object
9 10 11 |
# File 'lib/jsonpath/parser.rb', line 9 def root elements[0] end |
#selectors ⇒ Object
13 14 15 |
# File 'lib/jsonpath/parser.rb', line 13 def selectors elements[1] end |