module JYRon::Filters

Constants

FILTERS

Public Instance Methods

jsonpath(expression) click to toggle source
# File lib/jyron/filters.rb, line 6
def jsonpath(expression)
  if @adapters.include? :symbolize_keys then
    res = JsonPath.new(expression, use_symbols: true).on(@object)
  else
    res = JsonPath.new(expression).on(@object)
  end
  @object = res
  return self
end