0
I have the following JSON:
let result = {"0":4,"10":4,"30":6,"60":9,"90":12,"120":15,"150":18,"180":21}
I need to convert to Array in the following format:
[{"0":4},{"10":4},{"30":6},{"60":9},{"90":12},{"120":15},{"150":18},{"180":21}]
I’m trying like this without success:
let dados = JSON.parse(result)