Module: RSpecApi::Matchers::Json
- Included in:
- RSpecApi::Matchers
- Defined in:
- lib/rspec-api/matchers/json/matcher.rb,
lib/rspec-api/matchers/json/be_valid_json.rb
Defined Under Namespace
Classes: Matcher
Instance Method Summary collapse
-
#be_valid_json ⇒ Object
Passes if response body is a valid JSON or callback-wrapped JSON.