JSON.Stringify auf Arrays Hinzufügen numerischer Schlüssel für jeden Array -Wert
var kbInfo = [{ "questionId": "1", "customQuestion": "What is your first car make and model", "answer": "Ford Pinto" },{ "questionId": "14", "customQuestion": "Your favorite sports", "answer": "Sleeping" } ];
var wrapped = { SQA: kbInfo };
console.log(JSON.stringify(wrapped));
SAMER SAEID