jsonpath-online-evaluator icon indicating copy to clipboard operation
jsonpath-online-evaluator copied to clipboard

jsonpath pattern can manipulate/generate data

Open kroc702 opened this issue 1 year ago • 0 comments

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.

kroc702 avatar Sep 25 '24 16:09 kroc702