8000 be_valid_json matcher? · Issue #55 · collectiveidea/json_spec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
be_valid_json matcher? #55
Open
Open
@chronick

Description

@chronick

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0