File: json_pointer.rb

package info (click to toggle)
ruby-brandur-json-schema 0.21.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 424 kB
  • sloc: ruby: 4,082; makefile: 7
file content (7 lines) | stat: -rw-r--r-- 143 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
require_relative "json_pointer/evaluator"

module JsonPointer
  def self.evaluate(data, path)
    Evaluator.new(data).evaluate(path)
  end
end