Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

be_valid_json matcher? #55

Open
chronick opened this issue Oct 31, 2013 · 1 comment
Open

be_valid_json matcher? #55

chronick opened this issue Oct 31, 2013 · 1 comment

Comments

@chronick
Copy link

Would a matcher simply to check if a response is valid JSON make sense to include in the gem? I don't believe it would be more complicated than asserting that parse_json does not throw an error, which is what I'm doing in my project, but the syntactical sugar would be nice to have IMO.

Or is this somehow covered by one of the other matchers?

@xurde
Copy link

xurde commented Apr 15, 2015

Totally agreed here, @Headcanon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants