HI, I need to get the count of all the packages from the json body and display the total no of packages available for that transaction [" 143 "," 144 "," 172 "," 205 "," 241 "," 350 "," 364 "," 365 "," 385 "," 449 "," 486 "," 683 "," 764 "," 1043 "," 1220 "," 1241 "," 1287 "," 1309 "," 1381 "," 1432 "," 1456 "," 1509 "," 1578 "," 1641 "," 1727 "," 1753 "," 2835 "," 3299 "," 3309 "," 3566 "," 3626 "," 3897 "," 4127 "," 4349 "," 4456 "," 4805 "," 4835 "," 4870 "," 4872 "," 4890 "," 4954 "," 5254 "," 5485 "," 5486 "," 5487 "," 5488 "," 5489 "," 5490 "," 5491 "," 5492 "," 5493 "," 5494 "," 5495 "," 5496 "] Log: [ 2020-07-31 07:58:47 , 906 ] [ INFO ] [ http-nio-8080-exec-31 ] [ txnId=1596182327895-1558302899 ] [ clientIp=172.27.159.170 ] [ accountNumber= ] [ charterId= ] [ sessionHashCode= ] [ methodPath=/services/v2/entitlements/packages/ { macAddress } :GET ] TxnLogging - [ txnmarker=TXNEnd ] [ timestamp=Fri Jul 31 07:58:47 UTC 2020 ] [ application=/lrmmiddle/ ] [ methodPath=/services/v2/entitlements/packages/ { macAddress } :GET ] [ duration=11 ] [ clientIp=172.27.159.170 ] [ entity=Response Status:200 ] [ txnId=1596182327895-1558302899 ] [ status=200 ] [ responseJson= {" macAddress " : " 3438B79C5638 "," blockAll " :false ," packages " : [" 143 "," 144 "," 172 "," 205 "," 241 "," 350 "," 364 "," 365 "," 385 "," 449 "," 486 "," 683 "," 764 "," 1043 "," 1220 "," 1241 "," 1287 "," 1309 "," 1381 "," 1432 "," 1456 "," 1509 "," 1578 "," 1641 "," 1727 "," 1753 "," 2835 "," 3299 "," 3309 "," 3566 "," 3626 "," 3897 "," 4127 "," 4349 "," 4456 "," 4805 "," 4835 "," 4870 "," 4872 "," 4890 "," 4954 "," 5254 "," 5485 "," 5486 "," 5487 "," 5488 "," 5489 "," 5490 "," 5491 "," 5492 "," 5493 "," 5494 "," 5495 "," 5496 "]," statusCode " :null ," header " : {" status " : " SUCCESS "," transaction " : {" statusMessage " : " 0 "," returnCode " : " 0 "," returnMessage " : " 0 "," exception " :null ," id " : " 1596182327895-1558302899 "," dateTime " : " 2020-07-31T07:58:47.906Z "," duration " :11 ," hostname " : " lrmmiddle-f56fd7d48-s2r4l "}," sourceTransaction " :null }}]
... View more