surveyjs-wordpress
surveyjs-wordpress copied to clipboard
question, result.data is key value, converting to json
Hi,¨ in app.component.ts, in this method result.data has key value format, surveyModel.onComplete .add(result => this.submitSurvey.emit(result.data) ) like {"question1":100,"myquestion2":"Yes"}, how can i have it like this json format: {{ name:question1. value: 100 }, { name: myquestion1 value: yes } }