Hello Experts,
I need to fetch values from JSON .Can anyone please suggest a pattern how can I fetch values…
The output has to be from catch :
10% discount with Coupon on Outlet Sneakers
Coupon valid and Bindings Outlet_sneakers Count >= 1
setDiscountPerItemV2
Outlet_sneakers
10% off per item
([Item.Quantity] * [Item.Price]) * 10%
below is the Input:
"id": "b7a309df-3de0-4175-ae28-10d23fcb4540",
"title": "10% discount with Coupon on Outlet Sneakers",
"condition": [
"and",
[
"couponValid"
],
[
"catch",
false,
[
">=",
[
".",
"Bindings",
"Outlet_sneakers",
"Count"
],
1
]
]
],
"effects": [
[
"catch",
[
"noop"
],
[
"setDiscountPerItemV2",
[
"concat",
"10% off per item"
],
[
"*",
[
"*",
[
".",
"Item",
"Quantity"
],
[
".",