Requirement: To sum up all the "availableAmount" values in the below JSON and store into a variable.
JSON:
[{
"id": 0,
"availableAmount": 100.55
},
{
"id": 0...
A challenge here is that the JSON response is dynamic in nature and the number of array values could vary. Also, the amount will always be float values.