Help get this topic noticed by sharing it on Twitter, Facebook, or email.

How to fetch json object data from appery database and convert to array

Hi,

I have an array as below which I have initialized on init page.
But I want to put this entire json object into appery database and then convert all items to an array like this.I am working in ionic angular. How can I do that?

$scope.Quest = [
{
"QID": "1",
"SID": "1",
AID: "A",
"Text": "ques1",
"RadioRequired": true,
"checked": "0",
"Options": [{
"id": "1",
"text": "Yes" }]
},
{
"QID": "2",
"SID": "1",
AID: "A",
"Text": "Ques2",
"RadioRequired": true,
"checked": "0",
"Options": [{
"id": "2",
"text": "Yes"}]
},
etc... ]
1 person has
this problem
+1
Reply