Reputation: 7377
I have a JSON object in JQuery that looks like:
["state":"06","population":9},{"state":"32","population":13},{"state":"01","population":4},
I want to end up with a JSON object like:
{"06":9,"32":13,"01":4}
How would I do this in JQuery?
Thanks!
Upvotes: 0
Views: 1085