Method: Janeway::Enumerator#search

Defined in:
lib/janeway/enumerator.rb

#searchArray

Return a list of values from the input data that match the jsonpath query

Returns:

  • (Array)

    all matched objects



26
27
28
# File 'lib/janeway/enumerator.rb', line 26

def search
  Janeway::Interpreter.new(@query).interpret(@input)
end