I have the following JSON:
[{"state":"MN","value":10},{"state":"MN","value":10},{"state":"MN","value":10},{"state":"NY","value":8},{"state":"NY","value":8},{"state":"NY","value":8}]
is there a command in JQuery/JS or any other HTML compatible language that will allow me to convert the above JSON into the following:
[{"state":"MN","value":[10,10,10]},{"state":"NY","value":[8,8,8]}]
Thanks!
