Skip to content

Null objs #33

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

Merged
merged 2 commits into from
Dec 17, 2016
Merged

Null objs #33

merged 2 commits into from
Dec 17, 2016

Conversation

abloomston
Copy link

This PR fixes the following scenario:

JSON schema:

{
    "type": "object",
    "properties": {
    "foo": {
        "oneOf": [
        {
            "type": "null"
        },
        {
            "type": "array",
            "items": {
            "type": "number"
            }
        }
        ]
    }
    }
}

JSON object:

{
    "foo": null
}

JSON path: $.foo.[0]

@abloomston
Copy link
Author

@kennknowles note that travis ci build is failing for some reason unrelated to my change. I reproduced the travis ci failure at eb23b1e in my fork, cf: https://travis-ci.org/abloomston/python-jsonpath-rw/builds/83227690. If you restart this travis ci build it should fail: https://travis-ci.org/kennknowles/python-jsonpath-rw/builds/73743345.

@kennknowles
Copy link
Owner

Thanks!

@kennknowles kennknowles merged commit 7ec0556 into kennknowles:master Dec 17, 2016
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

Successfully merging this pull request may close these issues.

2 participants