Let's say i have array of kind: auto a = [["1","0000FF"], ["2", "00FF00"], ...]; Is there simple way to turn it into associative array of kind: string[string] b = ["1": "0000FF", "2": "00FF00", ...];