Skip to content

Dot Notation After Bracket Notation After Recursive Descent #12

@SoftCreatR

Description

@SoftCreatR

Test Data:

{
  "k": [
    {
      "key": "some value"
    },
    {
      "key": 42
    }
  ],
  "kk": [
    [
      {
        "key": 100
      },
      {
        "key": 200
      },
      {
        "key": 300
      }
    ],
    [
      {
        "key": 400
      },
      {
        "key": 500
      },
      {
        "key": 600
      }
    ]
  ],
  "key": [
    0,
    1
  ]
}

Selector:

$..[1].key

Result:

--- Expected
+++ Actual
@@ @@
-'[200,42,500]'
+'[42,200,500]'

More information: https://cburgmer.github.io/json-path-comparison/results/dot_notation_after_bracket_notation_after_recursive_descent

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions