I'm using JavaScript and I want to convert string type value like this:
'[{"key": "a", "value": "aa"}, {"key": "b", "value": "bb"}]'
to array type, without ''
quotes, like this:
[{"key": "a", "value": "aa"}, {"key": "b", "value": "bb"}]
.
I receive this type as an argument to a function where I have to treat the value as Array. But currently I can't push or pop items because the value is of string type.