I have an object that looks like this:
obj={"a": [1,2],"b": [3,4],"c": [5,6]}
I need to create an array of objects where every object consists of each key with only one value corresponding to its order like this:
obj2=[{"a": 1, "b": 3, "c": 5},{"a": 2, "b": 4, "c": 6}]
Also, if I have a JSON string using JSON.stringify(obj), would it be somehow possible to create string corresponding to JSON.stringify(obj2) directly from the first one?