Hi I am creating using Javascript an array of object with a key and a value using the following code.
ValuesArray.push({ key: $(this).attr(\'someattribute\')
const config = {a: 1, b: 2} console.log(JSON.stringify(JSON.stringify(config)))
"{\"a\": 1, \"b\": 2}"