jmespath.rb is an implementation of JMESPath for Ruby. This implementation supports searching JSON documents as well as native Ruby data structures.