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

[Feature Request] json-like / json-is functionality #1

Open
ugexe opened this issue Aug 1, 2018 · 0 comments
Open

[Feature Request] json-like / json-is functionality #1

ugexe opened this issue Aug 1, 2018 · 0 comments

Comments

@ugexe
Copy link

ugexe commented Aug 1, 2018

Add json-like and json-is which would work like json but for parsing individual parts of a json structure.

    test-given '/foo', {
        test post(json => { :param<XXX>, }),
            status => 201,
            json-like => "/query-datetime" => /^\d\d\d\dT\d\d.*/,
            json-is => "/data/0/name" => "XXX";
    }
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

1 participant