I have a string that is in this format: {{Weight:1200,Class:55},{Weight:100,Class:50}}
How can I get this into an array where the dimentions are [n,2].
n can be any number of array elements. 0 to ? whatever.
Or any other ideas, my goal is to have, in some way in javascript, to have the values so I can display them in a table. And right now I am thinking of a 2d array.
Any help or advice or any other way would be very welcomed.
weight class
1200 55
100 50
Thanks,
kss
Ordinary Programmer
How can I get this into an array where the dimentions are [n,2].
n can be any number of array elements. 0 to ? whatever.
Or any other ideas, my goal is to have, in some way in javascript, to have the values so I can display them in a table. And right now I am thinking of a 2d array.
Any help or advice or any other way would be very welcomed.
weight class
1200 55
100 50
Thanks,
kss
Ordinary Programmer