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

jsonpath pattern can manipulate/generate data #77

Open
kroc702 opened this issue Sep 25, 2024 · 0 comments
Open

jsonpath pattern can manipulate/generate data #77

kroc702 opened this issue Sep 25, 2024 · 0 comments

Comments

@kroc702
Copy link

kroc702 commented Sep 25, 2024

Describe the bug
jsonpath pattern can manipulate/generate data

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://jsonpath.com/
  2. enter jsonpath $.phoneNumbers[?(@.a={id:@.number})].a
  3. result is not part of input data
    [
    {
    "id": "0123-4567-8888"
    },
    {
    "id": "0123-4567-8910"
    }
    ]

Expected behavior
Althouth it may be usefull, other evaluator don't behave the same.
Anyway, json should be used to extract data, not manipulating them.

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