I would like to use an integer as a JSON object key :
let myJKey = 1
let myJSONArrayObject = { filter: [] }
myJSONObject.filter.push({myJKey: 'a json value'})
However, I get : `{"filter":[{"myJKey":{"a json value"}}]}`
How should I set up so the I get the value 1 in the myKey
variable as the JSON key?