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

How to multiply two field value in json path #962

Open
NamanGajjar26 opened this issue Oct 17, 2023 · 1 comment
Open

How to multiply two field value in json path #962

NamanGajjar26 opened this issue Oct 17, 2023 · 1 comment

Comments

@NamanGajjar26
Copy link

NamanGajjar26 commented Oct 17, 2023

this is my json data
{
"_id": "6528d24eaf4c148aef89cf2d",
"fname": "Naman",
"lname": "Gajjar",
"city": "Rajkot",
"phoneno": "7894561516",
"email": "NamanGajjar01@gmail.com",
"address": "33, Heena Apartments, Arpit Nagar Alwar - 214325",
"order": [
{
"orderno": "123",
"shipping_address": "48, Hadapsar, Ahmedabad - 150432",
"billing_address": "48, Hadapsar, Ahmedabad - 150432",
"Product": [
{
"productno": "1",
"product_name": "Mi 12 pro",
"qyt": 2,
"price": 18999
},
{
"productno": "2",
"product_name": "keybord",
"price": 1200,
"qyt": 2
}
]
},
{
"orderno": "456",
"shipping_address": "56, Raju Apartments, Borivali Meerut - 492762",
"billing_address": "56, Raju Apartments, Borivali Meerut - 492762",
"Product": [
{
"productno": "58",
"product_name": "Mi 14 pro",
"price": 31998,
"qyt": 10
},
{
"productno": "74",
"product_name": "Leptop",
"price": 56000,
"qyt": 4
}
]
}
]
}
how to multiply Product in qyt and price get total amount using json path

@akshithagunupati
Copy link

Hi can I work on this issue?

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

2 participants