class JMESPath::Nodes::ObjectProjection

Public Instance Methods

extract_targets(target) click to toggle source
# File lib/jmespath/nodes/projection.rb, line 65
def extract_targets(target)
  if hash_like?(target)
    target.values
  else
    nil
  end
end
fast_instance() click to toggle source
# File lib/jmespath/nodes/projection.rb, line 73
def fast_instance
  FastObjectProjection.new(@target.optimize, @projection.optimize)
end