I have a string: [{Product_id:1 Count:5} {Product_id:2 Count:22}]
[{Product_id:1 Count:5} {Product_id:2 Count:22}]
And I want to extract values Product_id and values Count from there into an array of int. To get something like this:
Product_id
Count
Product_id = [1,2] Count = [5, 22]