Module: Matchers

Defined in:
lib/matchers/json/json_path.rb,
lib/matchers/json/json_path_has_array.rb,
lib/matchers/json/json_path_has_thing.rb,
lib/matchers/json/json_path_has_value.rb,
lib/matchers/json/json_path_has_object.rb,
lib/matchers/json/document_contains_json_path.rb

Overview

This is by no means an implementation of JSONPath as outlined in goessner.net/articles/JsonPath/ and implemented in github.com/joshbuddy/jsonpath.

Instead, the module can handle only a very limited subset of JSONPath and operates on a Hash (result of ::JSON.parse(document)). It makes sense in the context of poller-json and its current set of features.

Defined Under Namespace

Modules: JSON