-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsonPath
19 lines (10 loc) · 808 Bytes
/
jsonPath
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
1. Find demands where the payer is a resident of street A and B
$.Demands[?((@.payer.address.street=="A") || (@.payer.address.street=="B"))]
2. Find demands where the payer is a resident of street A and identifies themself as FEMALE
$.Demands[?((@.payer.address.street=="A") && (@.payer.gender=="FEMALE"))]
3. Find demands which belong to the tax period - April 1st, 2022 to March 31st, 2023
$.Demands[?((@.taxPeriodFrom >=1648837799000) && (@.taxPeriodTo <=1677667199000))]
4. Find demands which belong to the tax period - April 1st 2021 to March 31st, 2022
$.Demands[?((@.taxPeriodFrom >=1617235200000) && (@.taxPeriodTo <=1648771199000))]
5. Find demands whose payer has the id 34231 and mobile number as 7878787878
$.Demands[?((@.payer.id==34231) && (@.payer.mobileNumber ==7878787878))]