Skip to content

Fails to match with nested query selector #91

Open
@aDotInTheVoid

Description

@aDotInTheVoid

Path: $[*][?(@.inner.for.inner=='u8')]

JSON:

{
    "0:4": {
      "id": "0:4",
      "inner": {
        "for": {"inner": "u8", "kind": "primitive"}
      }
    }
}

jsonpath matches to []

Expected:

[
   {
      "id" : "0:4",
      "inner" : {
         "for" : {
            "inner" : "u8",
            "kind" : "primitive"
         }
      }
   }
]

(from jayway, via https://jsonpath.herokuapp.com/)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions