I have JSON data that looks like this:
[{"name":"age","value":31},
{"name":"height (inches)","value":62},
{"name":"location","value":"Boston, MA"},
{"name":"gender","value":"male"}]
I need it to look like this instead:
[{"age": 31},
{"height (inches)": 62},
{"location": "Boston, MA"},
{"gender": "male"}]
This is for a jQuery web app. How would I go about this conversion? Not picky about how it gets done, just having trouble finding an existing solution. Thanks!