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

Root numerical array #15

Closed
christeredvartsen opened this issue Oct 26, 2016 · 0 comments
Closed

Root numerical array #15

christeredvartsen opened this issue Oct 26, 2016 · 0 comments
Assignees

Comments

@christeredvartsen
Copy link
Member

Currently there is no way of checking a JSON response that has a numerical array as the root property:

[
    "foo",
    123,
    {
        "foo": "bar"
    }
]

This could be solved by implementing support for the following syntax (that matches existing format):

{
    "[0]": "foo",
    "[1]": 123,
    "[2]": {
        "foo": "bar"
    }
}

This should also support the custom functions (length, atLeast and atMost) and also regular expressions.

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

No branches or pull requests

1 participant