Method: JsonPath#store

Defined in:
lib/json_path.rb

#store(p, v) ⇒ Object



50
51
52
53
54
55
# File 'lib/json_path.rb', line 50

def store(p, v)
  if p
    @result << (@resultType == "PATH" ? asPath(p) : v)
  end
  return !!p
end