how to calculate total value for the below JSON value U.O.M Wise in JAVA

how to calculate total value for the below JSON value U.O.M Wise in JAVA

sequence can be vary. We cannot expect number of uoms and sequence of results.

i have created hashset and made unique uom.

{

value=100

uom=kg

},

{

value=200

uom=kg

},

{

value=100

uom=lt

},

{

value=100

uom=ab

},

{

value=100

uom=lt

}

Please provide some code ref...

Read More »

By: StackOverFlow - 6 days ago

Related Posts