Open akudahewa opened 8 years ago
ex: no of sub elements inside offers is dynamic.It may be 2,3,4 or whatever amount. In example i put 2 elements
si json .. "offers": [ { "price": 99, "format":'USD' }, { "price":199, "format":'USD' } ] ..
after map i want like below ... "offers": [ { "price": 99 }, { "price":199 } ] ...
I did like below var map={
ex: no of sub elements inside offers is dynamic.It may be 2,3,4 or whatever amount. In example i put 2 elements
si json .. "offers": [ { "price": 99, "format":'USD' }, { "price":199, "format":'USD' } ] ..
after map i want like below ... "offers": [ { "price": 99 }, { "price":199 } ] ...
I did like below var map={